CVE-2026-33405CWE-79

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

Low · published April 6, 2026

CVSS v3.1
3.1
EPSS
0%
Percentile
20.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
3.1 · LOW
Vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00294 · 20.8th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2026-04-06T15:23Z
EPSS history
Timeline
  • 06 APR 15:23Z
    Pi-hole has a Stored HTML Injection in queries.js
    cvelistv5