{"id":"CVE-2026-33405","state":"PUBLISHED","title":"Pi-hole has a Stored HTML Injection in queries.js","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.","publishedAt":"2026-04-06T15:23:32.750Z","updatedAt":"2026-04-06T18:37:49.276Z","severity":{"score":3.1,"label":"Low","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["pi-hole web"],"affected":[{"vendor":"pi-hole","product":"web","versions":[{"version":">= 6.0, < 6.5","status":"affected"}]}],"references":["https://github.com/pi-hole/web/security/advisories/GHSA-jx8x-mj2r-62vq"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/33xxx/CVE-2026-33405.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-33405","state":"PUBLISHED","datePublished":"2026-04-06T15:23:32.750Z","dateUpdated":"2026-04-06T18:37:49.276Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-03-19T17:02:34.170Z"},"containers":{"cna":{"title":"Pi-hole has a Stored HTML Injection in queries.js","descriptions":[{"lang":"en","value":"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":[{"vendor":"pi-hole","product":"web","versions":[{"version":">= 6.0, < 6.5","status":"affected"}]}],"references":[{"url":"https://github.com/pi-hole/web/security/advisories/GHSA-jx8x-mj2r-62vq","name":"https://github.com/pi-hole/web/security/advisories/GHSA-jx8x-mj2r-62vq","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":3.1,"baseSeverity":"LOW","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-04-06T15:23:32.750Z"},"source":{"advisory":"GHSA-jx8x-mj2r-62vq","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-04-06T18:37:34.520924Z","id":"CVE-2026-33405","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-04-06T18:37:49.276Z"}}]}}}