CVE-2026-33404 Pi-hole has a Stored XSS / HTML injection in the Network page/Dashboard

Low 3.4 Published Updated

Attackers can inject malicious scripts via client hostnames or IPs in the Pi-hole admin dashboard, potentially compromising administrator sessions.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-33404?

CVE-2026-33404 is a low-severity cross-site scripting vulnerability in pi-hole web, published on 6 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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, 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.

Weakness: CWE-79

Which versions are affected by CVE-2026-33404?

It affects 1 product.

Products include Pi-Hole Web Interface.

How do I fix CVE-2026-33404?

No fix has been published for CVE-2026-33404 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-33404 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-33404 exists.

Sources

Also known as GHSA-px6w-85wp-ww9v.

Is CVE-2026-33404 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free