CVE-2021-32793: Pi-hole - Stored XSS
- Cve: CVE-2021-32793
- Name: Pi-hole - Stored XSS
- 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.
- Impact: Attackers can execute arbitrary scripts in admin accounts, potentially leading to session hijacking or account compromise.
- Remediation: Update to Pi-hole Web Interface version 5.5.1 or later.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Attacker needs admin user to add malicious domain
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.00791
- Epss percentile: 0.57049
- Assignee: [email protected]
- Published at: 2021-08-04T18:15:09Z
- Age in days: 1938
- Modified at: 2026-06-17T03:53:38Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-32793
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/pi-hole/AdminLTE/security/advisories/GHSA-g3w6-q4fg-p8x8 | nvd | 2021-08-04 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/pi-hole/AdminLTE/security/advisories/GHSA-g3w6-q4fg-p8x8 | nvd | Exploit, Third Party Advisory |
| https://github.com/pi-hole/AdminLTE/releases/tag/v5.5.1 | nvd | Release Notes, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| pi-hole:pi-hole | < 5.5.1 | no | nvd | /v1/products/pi-hole/pi-hole |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| pi-hole/adminlte | releases, security_advisory | yes | /v1/repositories/pi-hole/adminlte |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2021-08-04
- Remote: yes
- Authentication required: yes
- Exposed hosts: 9405
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports