Severity by source
AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
Lifecycle Timeline
4DescriptionGitHub Advisory
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.
AnalysisAI
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.
Technical ContextAI
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.
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.
Pi-hole versions up to 3.3 contain an authenticated command injection via the domain allowlist functionality. When addin
The Gravity updater in Pi-hole through 4.4 allows an authenticated adversary to upload arbitrary files. Rated high sever
Pi-hole is a Linux network-level advertisement and Internet tracker blocking application. Rated medium severity (CVSS 6.
Pi-hole Web v4.3.2 (aka AdminLTE) allows Remote Code Execution by privileged dashboard users via a crafted DHCP static l
Pi-hole is a DNS sinkhole that protects devices from unwanted content without installing any client-side software. Rated
Pi-hole®'s Web interface (based off of AdminLTE) provides a central location to manage your Pi-hole. Rated high severity
Pi-hole's Web interface provides a central location to manage a Pi-hole instance and review performance statistics. Rate
Pi-hole is a Linux network-level advertisement and Internet tracker blocking application. Rated high severity (CVSS 8.8)
An issue was discovered in Pi-Hole through 5.0. Rated high severity (CVSS 7.8), this vulnerability is low attack complex
Pi-hole 4.4 allows a user able to write to /etc/pihole/dns-servers.conf to escalate privileges through command injection
Pi-hole before 6 allows unauthenticated admin/api.php?setTempUnit= calls to change the temperature units of the web dash
adminlte is vulnerable to Sensitive Cookie Without 'HttpOnly' Flag. Rated high severity (CVSS 7.5), this vulnerability i
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-19285