{"id":"CVE-2026-33405","aliases":["CVE-2026-33405"],"related":[],"kind":"vulnerability","state":"published","title":"Pi-hole has a Stored HTML Injection in queries.js","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Pi-hole Admin Interface es una interfaz web para gestionar Pi-hole, una aplicación de bloqueo de anuncios y rastreadores de internet a nivel de red. Desde la versión 6.0 hasta antes de la 6.5, la función formatInfo() en queries.js renderiza data.upstream, data.cliente.ip y data.ede.text en HTML sin escapar cuando un usuario expande una fila de consulta en el Registro de Consultas, lo que permite la inyección de HTML almacenado. La ejecución de JavaScript está bloqueada por la CSP del servidor (script-src ’self’). Los mismos campos se escapan correctamente en la vista de tabla (rowCallback), lo que confirma que la omisión fue un descuido. Esta vulnerabilidad se corrige en la versión 6.5.","source":"nvd"}],"published":"2026-04-06T15:23:32.750Z","modified":"2026-10-26T22:10:00.163Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N","score":3.1,"rating":"LOW"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N","score":3.1,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":">= 6.0, < 6.5","status":"affected"}],"vendor":"pi-hole","product":"web","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.0","lastAffected":"6.4.1"}],"vendor":"pi-hole","product":"web_interface","cpe":"cpe:2.3:a:pi-hole:web_interface:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/pi-hole/web/security/advisories/GHSA-jx8x-mj2r-62vq","tags":["third-party-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-04-06T18:37:34.520Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-33405","url":"https://www.cve.org/CVERecord?id=CVE-2026-33405","licence":"CVE Terms of Use","modified":"2026-04-06T18:37:49.276Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-33405","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33405","licence":"Public domain","modified":"2026-10-26T22:10:00.163Z"}],"updatedAt":"2026-11-25T22:59:18.014Z","epss":{"score":0.00181,"percentile":0.08063,"date":"2026-12-01T12:00:22.000Z"}}