{"id":"CVE-2021-32793","state":"PUBLISHED","title":"Stored XSS Vulnerability in the Pi-hole Webinterface","description":"Pi-hole's Web interface provides a central location to manage a Pi-hole instance and review performance statistics. Prior to Pi-hole Web interface version 5.5.1, the function to add domains to blocklists or allowlists is vulnerable to a stored cross-site-scripting vulnerability. User input added as a wildcard domain to a blocklist or allowlist is unfiltered in the web interface. Since the payload is stored permanently as a wildcard domain, this is a persistent XSS vulnerability. A remote attacker can therefore attack administrative user accounts through client-side attacks. Pi-hole Web Interface version 5.5.1 contains a patch for this vulnerability.","publishedAt":"2021-08-04T17:55:09.000Z","updatedAt":"2024-08-03T23:33:55.912Z","severity":{"score":5.7,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["pi-hole AdminLTE"],"affected":[{"vendor":"pi-hole","product":"AdminLTE","versions":[{"version":"< 5.5.1","status":"affected"}]}],"references":["https://github.com/pi-hole/AdminLTE/releases/tag/v5.5.1","https://github.com/pi-hole/AdminLTE/security/advisories/GHSA-g3w6-q4fg-p8x8"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T19:48:33.225Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/32xxx/CVE-2021-32793.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-32793","state":"PUBLISHED","datePublished":"2021-08-04T17:55:09.000Z","dateUpdated":"2024-08-03T23:33:55.912Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2021-05-12T00:00:00.000Z"},"containers":{"cna":{"title":"Stored XSS Vulnerability in the Pi-hole Webinterface","descriptions":[{"lang":"en","value":"Pi-hole's Web interface provides a central location to manage a Pi-hole instance and review performance statistics. Prior to Pi-hole Web interface version 5.5.1, the function to add domains to blocklists or allowlists is vulnerable to a stored cross-site-scripting vulnerability. User input added as a wildcard domain to a blocklist or allowlist is unfiltered in the web interface. Since the payload is stored permanently as a wildcard domain, this is a persistent XSS vulnerability. A remote attacker can therefore attack administrative user accounts through client-side attacks. Pi-hole Web Interface version 5.5.1 contains a patch for this vulnerability."}],"affected":[{"vendor":"pi-hole","product":"AdminLTE","versions":[{"version":"< 5.5.1","status":"affected"}]}],"references":[{"url":"https://github.com/pi-hole/AdminLTE/releases/tag/v5.5.1","tags":["x_refsource_MISC"]},{"url":"https://github.com/pi-hole/AdminLTE/security/advisories/GHSA-g3w6-q4fg-p8x8","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":5.7,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","dateUpdated":"2021-08-04T17:55:09.000Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa"},"source":{"advisory":"GHSA-g3w6-q4fg-p8x8","discovery":"UNKNOWN"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-32793","STATE":"PUBLIC","TITLE":"Stored XSS Vulnerability in the Pi-hole Webinterface"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"AdminLTE","version":{"version_data":[{"version_value":"< 5.5.1"}]}}]},"vendor_name":"pi-hole"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Pi-hole's Web interface provides a central location to manage a Pi-hole instance and review performance statistics. Prior to Pi-hole Web interface version 5.5.1, the function to add domains to blocklists or allowlists is vulnerable to a stored cross-site-scripting vulnerability. User input added as a wildcard domain to a blocklist or allowlist is unfiltered in the web interface. Since the payload is stored permanently as a wildcard domain, this is a persistent XSS vulnerability. A remote attacker can therefore attack administrative user accounts through client-side attacks. Pi-hole Web Interface version 5.5.1 contains a patch for this vulnerability."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":5.7,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:H","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/releases/tag/v5.5.1","refsource":"MISC","url":"https://github.com/pi-hole/AdminLTE/releases/tag/v5.5.1"},{"name":"https://github.com/pi-hole/AdminLTE/security/advisories/GHSA-g3w6-q4fg-p8x8","refsource":"CONFIRM","url":"https://github.com/pi-hole/AdminLTE/security/advisories/GHSA-g3w6-q4fg-p8x8"}]},"source":{"advisory":"GHSA-g3w6-q4fg-p8x8","discovery":"UNKNOWN"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/pi-hole/AdminLTE/releases/tag/v5.5.1","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/pi-hole/AdminLTE/security/advisories/GHSA-g3w6-q4fg-p8x8","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T23:33:55.912Z"}}]}}}