{"id":"DHI-ewis-xw77-mh2l-rw4d","summary":"DOMPurify before 3.4.11 fails to clone the ALLOWED_ATTR allowlist when setConfig() is used with an…","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.","modified":"2026-11-21T12:30:26.373067470Z","published":"2026-11-11T16:37:28Z","upstream":["CVE-2026-65898"],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-ewis-xw77-mh2l-rw4d"},{"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"},{"type":"ADVISORY","url":"https://github.com/cure53/DOMPurify/security/advisories/GHSA-cmwh-pvxp-8882"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-65898"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-cmwh-pvxp-8882"},{"type":"FIX","url":"https://github.com/cure53/DOMPurify/pull/1482"},{"type":"FIX","url":"https://github.com/cure53/DOMPurify/commit/011bc3b2fcc4be17aa76f9030e8668207717acb9"},{"type":"WEB","url":"https://github.com/cure53/DOMPurify/releases/tag/3.4.11"},{"type":"ADVISORY","url":"https://ubuntu.com/security/CVE-2026-65898"},{"type":"ADVISORY","url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-65898"}],"affected":[{"package":{"name":"grist","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/grist"},"versions":["1.7.17-0","1.7.17-1","1.7.17-2","1.7.17-3","1.7.17-4","1.7.17-5","1.7.17-6","1.7.19-2","1.7.19-3","1.7.19-4","1.7.19-5","1.7.19-6","1.7.20-0","1.7.20-10","1.7.20-7","1.7.20-8","1.7.20-9","1.7.21-0","1.7.21-1","1.7.21-2","1.7.21-3","1.7.21-4","1.7.21-5","1.7.21-6","1.7.21-7","1.7.21-8","1.7.21-9","1.7.22-1","1.7.22-10","1.7.22-11","1.7.22-12","1.7.22-13","1.7.22-2","1.7.22-3","1.7.22-4","1.7.22-5","1.7.22-6","1.7.22-7","1.7.22-8","1.7.22-9"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-ewis-xw77-mh2l-rw4d.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}]}