Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | The CVSS v3.1 score of 3.4 reflects a low-severity locally-exploitable vulnerability (AV:L = local attack vector, AC:L = low complexity, PR:H = high privilege required, UI:N = no user interaction, S:U = unchanged scope, C:L = low confidentiality impact, I:L = low integrity impact, A:N = no availability impact). The high privilege requirement (PR:H) is the limiting factor-only administrators can inject hostile hostnames into the FTL database or trigger the rendering. However, the lack of UI interaction needed and the stored nature of the payload (persisted in FTL database) mean once injected, the XSS executes automatically when any admin views the Network page or Dashboard, creating lateral privilege escalation or admin-to-admin session hijacking potential. The vulnerability is NOT confirmed as actively exploited (no CISA KEV status provided), no public POC exists, and upstream validation in dnsmasq/FTL provides a practical barrier to exploitation via normal DHCP/DNS channels. Real-world risk is moderate for multi-admin Pi-hole deployments where trust between admins is not absolute, but negligible for single-admin or air-gapped home lab deployments. |
| Exploit ScenarioDerived | An attacker with admin credentials (or who compromises an admin account) adds a malicious hostname such as '<img src=x onerror="alert(document.cookie)"></img>' to a client device via DHCP reservation or direct database manipulation. When another admin views the Network page or hovers over a Dashboard chart tooltip displaying this client, the JavaScript payload executes in their browser context with full access to the Pi-hole Admin Interface session, potentially allowing theft of admin session tokens or defacement of Pi-hole settings. The local attack vector and high privilege requirement mean this scenario is most realistic in shared-admin or compromised-admin scenarios rather than external network attacks. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 06, 2026
Pi-hole Admin Interface versions 6.0 through 6.4 fail to escape client hostnames and IP addresses from the FTL database when rendering them into the DOM in the Network page and Dashboard chart tooltips, enabling stored cross-site scripting (XSS) attacks. An authenticated admin with high privileges can inject malicious scripts that execute in the context of other administrators' browsers, though the attack requires initial compromise of a DHCP/DNS client hostname field and circumvention of upstream validation in dnsmasq and FTL. This vulnerability is fixed in version 6.5, and no public exploit code or active exploitation has been identified at the time of analysis.
RemediationAI
Upgrade Pi-hole Admin Interface to version 6.5 or later, which implements output escaping for client hostnames and IP addresses in network.js and charts.js/index.js. No interim workarounds are available beyond restricting admin access to trusted parties and monitoring the FTL database for suspicious hostname entries. Users unable to upgrade immediately should review FTL database entries for HTML/JavaScript content in the NAMES table and remove or sanitize suspicious hostnames. Patch details and release notes are available at https://github.com/pi-hole/web/security/advisories/GHSA-px6w-85wp-ww9v.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability stems from CWE-79 (Improper Neutralization of Input During Web Page Generation, also known as Cross-Site Scripting) in the Pi-hole Admin Interface web application. Specifically, client hostnames and IP addresses sourced from the FTL (Faster Than Light, Pi-hole's DNS/DHCP processing engine) database are directly inserted into the DOM via JavaScript in network.js (Network page) and charts.js/index.js (Dashboard chart tooltips) without HTML entity encoding or content security policy enforcement. While dnsmasq and FTL apply upstream validation to block HTML characters via normal DHCP/DNS paths, the web UI layer performs no corresponding output escaping-an inconsistency with other fields in the same files that are properly escaped. This creates a reflected/stored XSS vector if an attacker can control a client hostname field that reaches the FTL database through alternate pathways or if database integrity is compromised.
Know when Web Interface gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionNVD
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Related Vulnerabilities in Pi-hole Admin Interface XSS Vulnerabilities
View all 3More in Web Interface
View allPi-hole®'s Web interface (based off of AdminLTE) provides a central location to manage your Pi-hole. Rated high severity
Pi-hole is a Linux network-level advertisement and Internet tracker blocking application. Rated high severity (CVSS 8.8)
HTTP response splitting in Pi-hole Admin Interface before 6.3 lets unauthenticated remote attackers inject CRLF sequence
adminlte is vulnerable to Sensitive Cookie Without 'HttpOnly' Flag. Rated high severity (CVSS 7.5), this vulnerability i
adminlte is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'). Rated me
adminlte is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'). Rated me
Stored HTML injection in Pi-hole Admin Interface versions 6.0+ allows authenticated attackers to inject arbitrary HTML i
Pi-hole's Web interface (based on AdminLTE) provides a central location to manage one's Pi-hole and review the statistic
Reflected cross-site scripting in the Pi-hole Admin Interface (web_interface) 6.2.1 and earlier lets a remote, unauthent
Remote code execution with root privileges in Pi-hole Admin Interface versions prior to 6.0 allows unauthenticated attac
EUVD-2026-19281
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB