{"api_version":"1","generated_at":"2026-04-23T15:10:33+00:00","cve":"CVE-2022-31029","urls":{"html":"https://cve.report/CVE-2022-31029","api":"https://cve.report/api/cve/CVE-2022-31029.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-31029","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-31029"},"summary":{"title":"CVE-2022-31029","description":"AdminLTE is a Pi-hole Dashboard for stats and configuration. In affected versions inserting code like `<script>alert(\"XSS\")</script>` in the field marked with \"Domain to look for\" and hitting <kbd>enter</kbd> (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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2022-07-07 22:15:00","updated_at":"2022-12-23 17:41:00"},"problem_types":["CWE-79"],"metrics":[],"references":[{"url":"https://github.com/pi-hole/AdminLTE/commit/b07372bd426ca8111824a0244dc89d07a7243509","name":"https://github.com/pi-hole/AdminLTE/commit/b07372bd426ca8111824a0244dc89d07a7243509","refsource":"MISC","tags":[],"title":"Merge pull request from GHSA-cfr5-rqm5-9vhp · pi-hole/AdminLTE@b07372b · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/pi-hole/AdminLTE/security/advisories/GHSA-cfr5-rqm5-9vhp","name":"https://github.com/pi-hole/AdminLTE/security/advisories/GHSA-cfr5-rqm5-9vhp","refsource":"CONFIRM","tags":[],"title":"Authenticated XSS in \"scripts/pi-hole/php/queryads.php\" · Advisory · pi-hole/AdminLTE · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-31029","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31029","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"31029","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"adminite","cpe5":"adminlte","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"31029","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"pi-hole","cpe5":"adminlte","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2022-31029","STATE":"PUBLIC","TITLE":"Authenticated XSS in Pi-hole AdminLTE"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"AdminLTE","version":{"version_data":[{"version_value":"< 5.13"}]}}]},"vendor_name":"pi-hole"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"AdminLTE is a Pi-hole Dashboard for stats and configuration. In affected versions inserting code like `<script>alert(\"XSS\")</script>` in the field marked with \"Domain to look for\" and hitting <kbd>enter</kbd> (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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"HIGH","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"}]}]},"references":{"reference_data":[{"name":"https://github.com/pi-hole/AdminLTE/security/advisories/GHSA-cfr5-rqm5-9vhp","refsource":"CONFIRM","url":"https://github.com/pi-hole/AdminLTE/security/advisories/GHSA-cfr5-rqm5-9vhp"},{"name":"https://github.com/pi-hole/AdminLTE/commit/b07372bd426ca8111824a0244dc89d07a7243509","refsource":"MISC","url":"https://github.com/pi-hole/AdminLTE/commit/b07372bd426ca8111824a0244dc89d07a7243509"}]},"source":{"advisory":"GHSA-cfr5-rqm5-9vhp","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2022-07-07 22:15:00","lastModifiedDate":"2022-12-23 17:41:00","problem_types":["CWE-79"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":4.8,"baseSeverity":"MEDIUM"},"exploitabilityScore":1.7,"impactScore":2.7},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:S/C:N/I:P/A:N","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"SINGLE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE","baseScore":3.5},"severity":"LOW","exploitabilityScore":6.8,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:pi-hole:adminlte:*:*:*:*:*:*:*:*","versionEndExcluding":"5.13","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}