{"id":"CVE-2026-65898","revision":"e8c9a09de175439b876167e4262c52da","records":[{"revision":"e8c9a09de175439b876167e4262c52da","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-65898","aliases":[],"title":"DOMPurify before 3.4.11 Permanent Attribute Allowlist Pollution via setConfig","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.","state":0,"publishedAt":"2026-07-23T13:16:17.715+00:00","modifiedAt":"2026-07-23T15:47:13.882+00:00","affected":[{"ecosystem":"Vendor product","name":"DOMPurify","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"cure53\",\n                    \"product\": \"DOMPurify\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"packageURL\": \"pkg:npm/dompurify\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\",\n                            \"lessThan\": \"3.4.11\"\n                        },\n                        {\n                            \"version\": \"3.4.11\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","score":5.1,"severity":"MEDIUM"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","score":7.2,"severity":"HIGH"}],"references":["https://github.com/cure53/DOMPurify/security/advisories/GHSA-cmwh-pvxp-8882","https://www.vulncheck.com/advisories/dompurify-before-permanent-attribute-allowlist-pollution-via-setconfig"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-65898","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-65898","identifiers":["CVE-2026-65898"]},"retained":false,"historicalAffected":[]}],"coverage":[]}