Medium severity · published Apr 6, 2026
CVE-2026-33405
Pi-hole has a Stored HTML Injection in queries.js
4.8
CVSS
0.2%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
High
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 6% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
WE
web · pi-hole
>= 6.0, < 6.5 · source: vendor
WI
Web Interface · Pi-hole
6.0 through 6.4.1 · source: NVD
Affected product
WE
web
pi-hole
More from web
9.8
CVE-2026-33765
Pi-hole Web Interface has a Command Injection Vulnerability
8.2
CVE-2025-59151
Pi-hole Admin Interface vulnerable to HTTP response header injection via CRLF injection
6.1
CVE-2026-33406
Pi-hole has a Stored HTML attribute injection
6.1
CVE-2026-33404
Pi-hole has a Stored XSS / HTML injection in the Network page/Dashboard
6.1
CVE-2026-33403
Pi-hole has a Reflected XSS / HTML injection in taillog.js