{"id":"CVE-2026-65898","aliases":["GHSA-cmwh-pvxp-8882"],"url":"https://o3.security/vulnerability/CVE-2026-65898","summary":"DOMPurify before 3.4.11 Permanent Attribute Allowlist Pollution via setConfig","details":"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.","published":"2026-07-23T13:16:17.715Z","modified":"2026-08-12T03:51:20.606754224Z","cvss":null,"epss":{"score":0.00212,"percentile":0.11448,"asOf":"2026-09-02"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"dompurify","fixedVersion":"3.4.11"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/65xxx/CVE-2026-65898.json"},{"type":"ADVISORY","url":"https://github.com/cure53/DOMPurify/security/advisories/GHSA-cmwh-pvxp-8882"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-65898"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/dompurify-before-permanent-attribute-allowlist-pollution-via-setconfig"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:20.606754224Z"}}