CVE-2026-33405: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in pi-hole web
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.
AI Analysis
Technical Summary
Pi-hole Admin Interface versions 6.0 to before 6.5 contain a stored HTML injection vulnerability due to improper neutralization of input in the formatInfo() function within queries.js. Specifically, data.upstream, data.client.ip, and data.ede.text are rendered into HTML without escaping when a user expands a query row in the Query Log, enabling stored HTML injection. The server's CSP restricts JavaScript execution to scripts from 'self', mitigating script-based exploitation. The same fields are correctly escaped in the table view, indicating the omission was accidental. This vulnerability is addressed in Pi-hole version 6.5.
Potential Impact
The vulnerability allows an attacker with high privileges (local authenticated user) to inject stored HTML content into the Query Log view of the Pi-hole Admin Interface. Due to the server's restrictive CSP, injected JavaScript execution is blocked, limiting the impact primarily to HTML injection rather than full cross-site scripting. Confidentiality and integrity impacts are low, and availability is not affected. The CVSS score is 3.1, reflecting low severity.
Mitigation Recommendations
This vulnerability is fixed in Pi-hole version 6.5. Users should upgrade to version 6.5 or later to remediate this issue. Since no official patch link or advisory is provided, confirm upgrade availability from the Pi-hole project. No additional mitigation is required given the CSP in place and the fix in the newer version.
CVE-2026-33405: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in pi-hole web
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, 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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Pi-hole Admin Interface versions 6.0 to before 6.5 contain a stored HTML injection vulnerability due to improper neutralization of input in the formatInfo() function within queries.js. Specifically, data.upstream, data.client.ip, and data.ede.text are rendered into HTML without escaping when a user expands a query row in the Query Log, enabling stored HTML injection. The server's CSP restricts JavaScript execution to scripts from 'self', mitigating script-based exploitation. The same fields are correctly escaped in the table view, indicating the omission was accidental. This vulnerability is addressed in Pi-hole version 6.5.
Potential Impact
The vulnerability allows an attacker with high privileges (local authenticated user) to inject stored HTML content into the Query Log view of the Pi-hole Admin Interface. Due to the server's restrictive CSP, injected JavaScript execution is blocked, limiting the impact primarily to HTML injection rather than full cross-site scripting. Confidentiality and integrity impacts are low, and availability is not affected. The CVSS score is 3.1, reflecting low severity.
Mitigation Recommendations
This vulnerability is fixed in Pi-hole version 6.5. Users should upgrade to version 6.5 or later to remediate this issue. Since no official patch link or advisory is provided, confirm upgrade availability from the Pi-hole project. No additional mitigation is required given the CSP in place and the fix in the newer version.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-03-19T17:02:34.170Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69d3d1a00a160ebd92c130ca
Added to database: 4/6/2026, 3:30:40 PM
Last enriched: 4/6/2026, 3:46:50 PM
Last updated: 4/6/2026, 8:35:11 PM
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.