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

- Priority: **Routine**
- Reason: Not severe (CVSS 3.1, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-04-06 · Modified: 2026-04-06
- Record: https://cvemate.com/vulnerability/CVE-2026-33405 · JSON: https://cvemate.com/vulnerability/CVE-2026-33405/json

## Description

```text
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.
```

## Signals

- CVSS: 4.8 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
- EPSS: 0.204%, percentile 10.852%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- pi-hole web: ≥ 6.0, \< 6.5
- pi-hole web\_interface: ≥ 6.0, ≤ 6.4.1

## References

- <https://github.com/pi-hole/web/security/advisories/GHSA-jx8x-mj2r-62vq>

---

Data as of 2026-12-06T07:11:05.629Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
