CVE-2026-33405

Source
https://cve.org/CVERecord?id=CVE-2026-33405
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-33405.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-33405
Aliases
  • GHSA-jx8x-mj2r-62vq
Published
2026-04-06T15:23:32.750Z
Modified
2026-07-15T01:49:21.363849501Z
Severity
  • 3.1 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N CVSS Calculator
Summary
Pi-hole has a Stored HTML Injection in queries.js
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33405.json"
}
References

Affected packages

Git / github.com/pi-hole/web

Affected ranges

Type
GIT
Repo
https://github.com/pi-hole/web
Events
Database specific
{
    "source": [
        "AFFECTED_FIELD",
        "CPE_RANGE"
    ],
    "cpe": "cpe:2.3:a:pi-hole:web_interface:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "6.0"
        },
        {
            "fixed": "6.5"
        },
        {
            "last_affected": "6.4.1"
        }
    ]
}

Affected versions

v6.*
v6.0
v6.0.1
v6.0.2
v6.1
v6.2.1
v6.3
v6.4
v6.4.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-33405.json"