{
  "id": "CVE-2026-65898",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-65898",
  "published_at": "2026-07-23T13:16:17.715Z",
  "title": "DOMPurify before 3.4.11 Permanent Attribute Allowlist Pollution via setConfig",
  "vendor": "cure53",
  "product": "DOMPurify",
  "cvss": {
    "score": 7.2,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "DOMPurify before 3.4.11 fails to clone the ALLOWED_ATTR allowlist when setConfig() is used with an uponSanitizeAttribute hook, allowing the hook to permanently mutate the shared allowlist. Attackers can register a hook that conditionally allows dangerous attributes like onerror for trusted elements, then submit untrusted content that inherits the polluted allowlist and executes event handlers as stored XSS.",
  "cwe": "CWE-79",
  "cpes": [
    "cpe:2.3:a:cure53:dompurify:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.2
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "cure53",
        "product": "DOMPurify",
        "ranges": [
          "\u003c 3.4.11"
        ],
        "fixed_in": [
          "3.4.11"
        ]
      }
    ],
    "upgrade": [
      "Upgrade DOMPurify to 3.4.11 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/cure53/DOMPurify/security/advisories/GHSA-cmwh-pvxp-8882"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
