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 | CVSS 5.4 (Medium) with CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N reflects network-accessible, low-complexity attack requiring user interaction (UI:R) but no privileges, yielding limited confidentiality and integrity impact. EPSS data is not provided; however, the attack requires user interaction (UI:R) and does not cross trust boundaries (S:U), limiting automated exploitability. No CISA KEV or public exploit code data is provided, suggesting this is a low-visibility vulnerability despite its unauthenticated attack vector. The real-world risk is constrained by three factors: (1) the CSP blocks script execution, reducing impact to UI manipulation rather than session hijacking or credential theft; (2) exploitation requires either direct admin access to inject config values or social engineering to import a malicious teleporter backup; and (3) typical Pi-hole deployments are on private networks or accessible only to authorized admins, narrowing the attacker pool. This is a genuine XSS flaw with CVSS-appropriate Medium severity, but not a critical remote code execution or authentication bypass. |
| Exploit ScenarioDerived | An attacker crafts a malicious Pi-hole teleporter backup file containing a double-quote-injected configuration value (e.g., a custom DNS record or blocklist name with payload like " style="display:none" "). When an admin imports this backup into their Pi-hole instance via the web interface, the config value is stored and later rendered unescaped in settings-advanced.js. The injected style attribute hides or modifies UI elements, enabling UI redressing such as obscuring warning messages or repositioning buttons to trick the admin into unintended actions. While the CSP prevents inline script execution, the attacker achieves information disclosure or admin action manipulation without requiring direct admin authentication if social engineering is used to distribute the malicious backup. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 06, 2026
Stored cross-site scripting (XSS) via HTML attribute injection in Pi-hole Admin Interface versions 6.0 through 6.4 allows unauthenticated remote attackers to perform UI redressing and information disclosure by injecting double quotes into configuration values displayed in settings-advanced.js, exploitable through malicious teleporter backup imports that bypass server-side field validation.
RemediationAI
Vendor-released patch: upgrade to Pi-hole Admin Interface version 6.5 or later. Users on versions 6.0-6.4 should immediately apply the patch by updating their Pi-hole installation through the standard update mechanism or by pulling the latest release from the Pi-hole GitHub repository (https://github.com/pi-hole/web). If immediate patching is not possible, restrict administrative access to the Pi-hole Admin Interface to trusted networks only (via firewall rules or VPN), and do not import teleporter backups from untrusted sources, as the teleporter import mechanism is the primary attack surface for injecting malicious config values. Refer to the official GitHub security advisory (https://github.com/pi-hole/web/security/advisories/GHSA-9rfm-c5g6-538p) for additional context and confirmation.
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
Pi-hole's /api/config endpoint returns configuration parameters that are directly interpolated into HTML value="" attributes in settings-advanced.js without HTML entity encoding or attribute escaping. The vulnerability exploits CWE-79 (Improper Neutralization of Input During Web Page Generation), a classic XSS class. When a double quote character appears in any config value, it breaks out of the attribute context and allows injection of additional HTML attributes (e.g., onmouseover, style, data- attributes). While the server implements Content-Security-Policy with script-src 'self', which prevents inline or external script execution, injected attributes can still modify element styling via style attributes or class assignments, enabling UI redressing attacks (clickjacking, form field manipulation) and potential information disclosure through CSS-based exfiltration techniques. The attack surface is expanded by the teleporter backup import mechanism, which accepts serialized configuration data and bypasses the per-field server-side validation that might otherwise sanitize individual config parameters during normal API operations.
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
3DescriptionNVD
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, configuration values from the /api/config endpoint are placed directly into HTML value="" attributes without escaping in settings-advanced.js, enabling HTML attribute injection. A double quote in any config value breaks out of the attribute context. JavaScript execution is blocked by the server's CSP (script-src 'self'), but injected attributes can alter element styling for UI redressing. The primary attack vector is importing a malicious teleporter backup, which bypasses per-field server-side validation. 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-19285
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB