Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-33405: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in pi-hole web

0
Low
VulnerabilityCVE-2026-33405cvecve-2026-33405cwe-79
Published: Mon Apr 06 2026 (04/06/2026, 15:23:32 UTC)
Source: CVE Database V5
Vendor/Project: pi-hole
Product: 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

AILast updated: 04/06/2026, 15:46:50 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses