{"id":"CVE-2022-31029","summary":"Authenticated XSS in Pi-hole AdminLTE","details":"AdminLTE is a Pi-hole Dashboard for stats and configuration. In affected versions inserting code like `\u003cscript\u003ealert(\"XSS\")\u003c/script\u003e` in the field marked with \"Domain to look for\" and hitting \u003ckbd\u003eenter\u003c/kbd\u003e (or clicking on any of the buttons) will execute the script. The user must be logged in to use this vulnerability. Usually only administrators have login access to pi-hole, minimizing the risks. Users are advised to upgrade. There are no known workarounds for this issue.","aliases":["GHSA-cfr5-rqm5-9vhp"],"modified":"2026-08-27T03:48:44.799236027Z","published":"2022-07-07T21:55:10Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31029.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-79"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31029.json"},{"type":"ADVISORY","url":"https://github.com/pi-hole/AdminLTE/security/advisories/GHSA-cfr5-rqm5-9vhp"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31029"},{"type":"FIX","url":"https://github.com/pi-hole/AdminLTE/commit/b07372bd426ca8111824a0244dc89d07a7243509"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/pi-hole/web","events":[{"introduced":"0"},{"fixed":"1714b082c3a233ea3a0c344b50352c59818676fc"},{"fixed":"b07372bd426ca8111824a0244dc89d07a7243509"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"5.13"}],"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:pi-hole:adminlte:*:*:*:*:*:*:*:*"}}],"versions":["v5.12","v5.11","v5.10.1","v5.10","v5.9","v5.8","v5.7","v5.6","v5.5.1","v5.5","v5.4","v5.3.2","v5.3.1","v5.3","v5.2.2","v5.2.1","v5.2","v5.1.1","v5.1","v5.0","v4.3.3","v4.3.2","v4.3","v4.2","v4.1.1","v4.1","v4.0","v3.3","v3.2.1","v3.2","v3.1","v3.0.1a","v3.0.1","v3.0","v2.5.2","v2.5.1","v2.5","v2.4","v2.3.1","v2.3","v2.2","v2.1","v2.0","v1.4.4.2","v1.4.4.1","v1.4.4","v1.4.3.1a","v1.4.3.1","v1.4.3","v1.4.2","v1.4.1","v1.4","v1.3","v1.2","v1.1.7","v1.1.6","v1.1.5","v1.1.4","v1.1.3","v1.1.2","v1.1.1","v1.1.0","v1.0.0","v2.2.0","v2.1.2","2.1.1","2.1.0","v2.1.0-beta","v2.1.0-alpha-1","v2.0.5","v2.0.3","v2.0.2","v2.0.1","v2.0.0","2.0.0","1.2.1","1.2","1.1","1.0","0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-31029.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L"}]}