# CVE-2026-33406: Pi-hole has a Stored HTML attribute injection

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- 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.27%, higher than 20% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-06T14:50:35.670Z
- Modified: 2026-10-26T22:10:00.163Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Pi-hole Admin Interface is a web interface for managing Pi-hole, a network-level ad and internet tracker blocking application. From 6.0 to before 6.5, configuration values from the /api/config endpoint are placed directly into HTML value="" attributes without escaping in settings-advanced.js, enabling HTML attribute injection. A double quote in any config value breaks out of the attribute context. JavaScript execution is blocked by the server's CSP (script-src 'self'), but injected attributes can alter element styling for UI redressing. The primary attack vector is importing a malicious teleporter backup, which bypasses per-field server-side validation. This vulnerability is fixed in 6.5.

(As written by CVE List.)

## Affected

- pi-hole web: >= 6.0, < 6.5
- pi-hole web_interface: from 6.0 up to 6.4.1

## Every score

- GitHub_M: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/pi-hole/web/security/advisories/GHSA-9rfm-c5g6-538p> (exploit, vendor-advisory)

## Sources

- CVE List: [CVE-2026-33406](https://www.cve.org/CVERecord?id=CVE-2026-33406), CVE Terms of Use, modified 2026-04-07
- NVD: [CVE-2026-33406](https://nvd.nist.gov/vuln/detail/CVE-2026-33406), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-33406 · Whole record: https://cve.day/CVE-2026-33406.json · Rebuilt by cve.day 2026-11-25T22:59:18.001Z
