CVE-2026-33406 Pi-hole has a Stored HTML attribute injection
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pi-hole web interface | >= 6.0, <= 6.4.1 | after 6.4.1 | Fixed |
| pi-hole web | = >= 6.0, < 6.5 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pi-hole web | = >= 6.0, < 6.5 | No fix listed |
| pi-hole web interface | >= 6.0, <= 6.4.1 | No fix listed |
References
- https://github.com/pi-hole/web/security/advisories/GHSA-9rfm-c5g6-538p exploit vendor-advisory