CVE-2026-33405

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

MEDIUM
4.8
CVSS Score
Published: April 6, 2026 at 03:23 PM UTC
Updated: June 17, 2026 at 10:37 AM UTC
1 product affected across 1 vendorWeb Interface

Using web by pi-hole?

Get instant alerts when new vulnerabilities affect web - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM4.8
Exploit prediction
EPSS 0.2%
SSVC
PoC

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 6.56.0 ≤ v ≤ 6.4.1
Affected range stops below 6.5, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

References (1)

x_refsource_CONFIRMThird Party Advisory
Source: cverecord
https://github.com/pi-hole/web/security/advisories/GHSA-jx8x-mj2r-62vq

SSVC — Action Prioritization

SSVCPoCNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
HIGH
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-79

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card