Severity by source
AV:L/AC:L/PR:H/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, the formatInfo() function in queries.js renders data.upstream, data.client.ip, and data.ede.text into HTML without escaping when a user expands a query row in the Query Log, enabling stored HTML injection. JavaScript execution is blocked by the server's CSP (script-src 'self'). The same fields are properly escaped in the table view (rowCallback), confirming the omission was an oversight. This vulnerability is fixed in 6.5.
AnalysisAI
Stored HTML injection in Pi-hole Admin Interface versions 6.0 through 6.4 allows authenticated high-privilege users to inject unescaped HTML into query log details via the formatInfo() function, affecting the upstream, client IP, and error description fields. JavaScript execution is mitigated by Content Security Policy, limiting the practical impact to HTML-based attacks such as DOM manipulation or phishing content injection. The vulnerability is fixed in version 6.5.
Technical ContextAI
The Pi-hole Admin Interface (cpe:2.3:a:pi-hole:web:*:*:*:*:*:*:*:*) is a web-based management console for Pi-hole's DNS-level filtering service. The formatInfo() function in queries.js fails to escape three data fields when rendering expanded query rows in the Query Log, creating a Stored XSS vulnerability classified under CWE-79 (Improper Neutralization of Input During Web Page Generation). The same fields are correctly escaped in the table view's rowCallback function, indicating this was a code maintenance oversight rather than a systemic architectural flaw. The server's Content Security Policy with script-src 'self' blocks inline and external script execution, significantly narrowing the attack surface.
RemediationAI
Vendor-released patch: Pi-hole Admin Interface version 6.5 and later. Upgrade the Admin Interface component to version 6.5 or newer to receive the fix that properly escapes data.upstream, data.client.ip, and data.ede.text fields in the formatInfo() function. Until upgrade is feasible, restrict administrative access to the Pi-hole web console to trusted users and monitor for unusual query log entries that may indicate exploitation attempts. Consult the GitHub Security Advisory at https://github.com/pi-hole/web/security/advisories/GHSA-jx8x-mj2r-62vq for deployment-specific guidance.
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-19283