CVE-2026-33404: Pi-hole has a Stored XSS / HTML injection in the Network page/Dashboard
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, client hostnames and IP addresses from the FTL database are rendered into the DOM without escaping in network.js (Network page) and charts.js/index.js (Dashboard chart tooltips). While upstream validation in dnsmasq and FTL blocks HTML characters via normal DHCP/DNS paths, the web UI performs no output escaping — an inconsistency with other fields in the same file that are properly escaped. This vulnerability is fixed in 6.5.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Pi-hole Admin Interfaceto a version that resolves this vulnerability.Fixed in 6.5
Event History
Frequently Asked Questions
What is the severity of CVE-2026-33404?
CVE-2026-33404 has a medium severity rating due to the potential for stored XSS attacks.
How does CVE-2026-33404 affect the Pi-hole Admin Interface?
CVE-2026-33404 allows an attacker to inject malicious scripts into the Network page of the Pi-hole Admin Interface.
How do I fix CVE-2026-33404?
To fix CVE-2026-33404, update the Pi-hole Admin Interface to version 6.5 or later.
Which versions of Pi-hole are affected by CVE-2026-33404?
CVE-2026-33404 affects Pi-hole versions from 6.0 up to, but not including, 6.5.
What are the potential impacts of exploiting CVE-2026-33404?
Exploiting CVE-2026-33404 can result in unauthorized script execution in the context of the user's session, leading to session hijacking or data theft.