Skip to content

CVE-2026-33405 Pi-hole has a Stored HTML Injection in queries.js

MediumCVSS 4.8 EPSS 0.18%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
pi-hole web interface >= 6.0, <= 6.4.1 after 6.4.1 Fixed
pi-hole web = >= 6.0, < 6.5 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pi-hole web = >= 6.0, < 6.5 No fix listed
pi-hole web interface >= 6.0, <= 6.4.1 No fix listed

References