CVE-2026-33404

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

Published Apr 6, 2026 CVSS 3.1 · 3.4 Low EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability allows an attacker to inject arbitrary HTML and JavaScript into the Pi‑hole Admin Interface. Data such as client hostnames and IP addresses are rendered into the DOM without escaping, creating a stored cross‑site scripting weakness of type CWE‑79. Successful exploitation could lead to session hijacking or malicious code execution within the victim’s browser, potentially compromising sensitive network information.

Affected Systems

This flaw affects the Pi‑hole web interface in versions 6.0 through 6.4. The issue was fixed in release 6.5. Users running any of these versions should verify their installation. The vulnerable components are network.js on the Network page and charts.js/index.js used for dashboard tooltips.

Risk and Exploitability

The CVSS score of 3.4 indicates low severity, and the EPSS probability is below 1 %, suggesting that exploitation is currently unlikely. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector is access to the web UI, which is typically limited to local network users or administrators. An attacker would need to deliver malicious input that the application stores and later serves to a logged‑in user, which may require privileged or authenticated access to the admin interface.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Pi‑hole to version 6.5 or newer to eliminate the unescaped rendering of client data.
  • If an upgrade cannot be performed immediately, limit access to the admin interface to trusted devices or secure it behind a VPN or firewall to reduce the likelihood of an attacker reaching the vulnerable page.

Generated by OpenCVE AI on April 14, 2026 at 21:00 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Pi-hole web Interface
CPEs cpe:2.3:a:pi-hole:web_interface:*:*:*:*:*:*:*:*
Vendors & Products Pi-hole web Interface
Type Values Removed Values Added
First Time appeared Pi-hole
Pi-hole web
Vendors & Products Pi-hole
Pi-hole web
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Pi-hole has a Stored XSS / HTML injection in the Network page/Dashboard
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 3.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 6, 2026, 6:39 PM
Reserved
Mar 19, 2026, 5:02 PM
Status
Analyzed
Published
Apr 6, 2026, 3:17 PM
Modified
Oct 26, 2026, 10:10 PM