# CVE-2021-32793: Stored XSS Vulnerability in the Pi-hole Webinterface

- Severity: Medium 5.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.79%, higher than 57% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-08-04T17:55:09.000Z
- Modified: 2026-06-17T03:53:38.497Z
- Weaknesses: CWE-79
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- pi-hole AdminLTE: < 5.5.1
- pi-hole pi-hole: before 5.5.1

## Every score

- GitHub_M: CVSS:3.1 5.7 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:H`
- NVD: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://github.com/pi-hole/AdminLTE/security/advisories/GHSA-g3w6-q4fg-p8x8> (exploit, third-party-advisory)
- <https://github.com/pi-hole/AdminLTE/releases/tag/v5.5.1> (release-notes, third-party-advisory)

## Sources

- CVE List: [CVE-2021-32793](https://www.cve.org/CVERecord?id=CVE-2021-32793), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-32793](https://nvd.nist.gov/vuln/detail/CVE-2021-32793), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-32793 · Whole record: https://cve.day/CVE-2021-32793.json · Rebuilt by cve.day 2026-11-25T22:58:02.998Z
