XSS in Pi-Hole Web
CVE-2026-33406
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.
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.003 (16.7th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N.
Affected products
- Pi-hole Web — versions >= 6.0, < 6.5
- Pi-hole Web_interface
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Exploit, Vendor Advisory)
Frequently asked questions
- What is CVE-2026-33406?
- CVE-2026-33406 is a medium-severity vulnerability in Pi-Hole Web, classified under Cross-site Scripting. CVSS score: 5.4/10. Published 2026-04-06.
- How severe is CVE-2026-33406?
- Medium severity. CVSS v3 base score is 5.4 out of 10.