{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:pi-hole:web_interface:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "6.0"
              },
              {
                "fixed": "6.5"
              },
              {
                "last_affected": "6.4.1"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "CPE_RANGE"
            ]
          },
          "events": [
            {
              "introduced": "a66d859aecb427faad6adfce144fd97fbeb26a13"
            },
            {
              "fixed": "7a17e01c28eeb7af2c43384eccf5d859e3061371"
            }
          ],
          "repo": "https://github.com/pi-hole/web",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-9rfm-c5g6-538p"
  ],
  "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-33406.json"
  },
  "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, configuration values from the /api/config endpoint are placed directly into HTML value=\"\" attributes without escaping in settings-advanced.js, enabling HTML attribute injection. A double quote in any config value breaks out of the attribute context. JavaScript execution is blocked by the server's CSP (script-src 'self'), but injected attributes can alter element styling for UI redressing. The primary attack vector is importing a malicious teleporter backup, which bypasses per-field server-side validation. This vulnerability is fixed in 6.5.",
  "id": "CVE-2026-33406",
  "modified": "2026-07-15T01:49:11.840706546Z",
  "published": "2026-04-06T14:50:35.670Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33406.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/pi-hole/web/security/advisories/GHSA-9rfm-c5g6-538p"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-33406"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Pi-hole has a Stored HTML attribute injection"
}