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

- Severity: Low 3.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-04-06T15:23:32.750Z
- Modified: 2026-10-26T22:10:00.163Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- pi-hole web: >= 6.0, < 6.5
- pi-hole web_interface: from 6.0 up to 6.4.1

## Every score

- GitHub_M: CVSS:3.1 3.1 Low `CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/pi-hole/web/security/advisories/GHSA-jx8x-mj2r-62vq> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-33405](https://www.cve.org/CVERecord?id=CVE-2026-33405), CVE Terms of Use, modified 2026-04-06
- NVD: [CVE-2026-33405](https://nvd.nist.gov/vuln/detail/CVE-2026-33405), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-33405 · Whole record: https://cve.day/CVE-2026-33405.json · Rebuilt by cve.day 2026-11-25T22:59:18.014Z
