XSS in Pi-Hole Web
CVE-2026-33405
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, the formatInfo() function in queries.js renders data.upstream, data.client.ip, and data.ede.text into HTML without escaping when a user expands a query row in the Query Log, enabling stored HTML injection. JavaScript execution is blocked by the server's CSP (script-src 'self'). The same fields are properly escaped in the table view (rowCallback), confirming the omission was an oversight. This vulnerability is fixed in 6.5.
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.002 (6.6th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 3.1 (Low). Vector: CVSS:3.1/AV:L/AC:L/PR:H/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, Third Party Advisory)
Frequently asked questions
- What is CVE-2026-33405?
- CVE-2026-33405 is a low-severity vulnerability in Pi-Hole Web, classified under Cross-site Scripting. CVSS score: 3.1/10. Published 2026-04-06.
- How severe is CVE-2026-33405?
- Low severity. CVSS v3 base score is 3.1 out of 10.