{"id":"DHI-z4qe-2rxg-twgh-kvnv","summary":"DOMPurify before 3.4.12 fails to execute afterSanitizeElements hook for custom elements allowed via…","details":"DOMPurify before 3.4.12 fails to execute afterSanitizeElements hook for custom elements allowed via CUSTOM_ELEMENT_HANDLING.tagNameCheck, allowing attributes to bypass application security policies. Attackers can preserve sensitive attributes on custom elements that later re-inject them into innerHTML sinks, creating second-order XSS gadgets.","modified":"2026-11-21T12:30:54.615589066Z","published":"2026-11-11T16:39:06Z","upstream":["CVE-2026-66010"],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-z4qe-2rxg-twgh-kvnv"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-66010"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/dompurify-before-hook-bypass-via-custom-element-handling"},{"type":"ADVISORY","url":"https://github.com/cure53/DOMPurify/security/advisories/GHSA-c2j3-45gr-mqc4"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-66010"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-c2j3-45gr-mqc4"},{"type":"FIX","url":"https://github.com/cure53/DOMPurify/pull/1537"},{"type":"FIX","url":"https://github.com/cure53/DOMPurify/commit/a9ca1e537422319a557a9a2aa61f003b23b4a197"},{"type":"WEB","url":"https://github.com/cure53/DOMPurify/releases/tag/3.4.12"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-66010"},{"type":"ADVISORY","url":"https://www.cve.org/CVERecord?id=CVE-2026-66010"},{"type":"ADVISORY","url":"https://ubuntu.com/security/CVE-2026-66010"},{"type":"ADVISORY","url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-66010"}],"affected":[{"package":{"name":"gitea-dev","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/gitea-dev"},"versions":["1.26.4-r1","1.27.0-r1","1.27.0-r2","1.27.1-r0","1.27.1-r1","1.27.1-r2","1.27.1-r3","1.27.2-r0","1.27.2-r1","1.27.2-r2","1.27.2-r3","1.27.2-r4","1.27.3-r0","1.27.3-r1","1.27.3-r10","1.27.3-r11","1.27.3-r12","1.27.3-r13","1.27.3-r14","1.27.3-r15","1.27.3-r16","1.27.3-r17","1.27.3-r18","1.27.3-r19","1.27.3-r2","1.27.3-r20","1.27.3-r3","1.27.3-r4","1.27.3-r5","1.27.3-r7","1.27.3-r8","1.27.3-r9","28.3.0-r0","28.3.0-r1","28.3.0-r2","28.3.0-r3","28.3.0-r4","28.4.0-r0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-z4qe-2rxg-twgh-kvnv.json"}},{"package":{"name":"gitea-fips-dev","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/gitea-fips-dev"},"versions":["1.26.4-r1","1.27.0-r1","1.27.0-r2","1.27.1-r0","1.27.1-r1","1.27.1-r2","1.27.1-r3","1.27.2-r0","1.27.2-r1","1.27.2-r2","1.27.2-r3","1.27.2-r4","1.27.3-r0","1.27.3-r1","1.27.3-r10","1.27.3-r11","1.27.3-r12","1.27.3-r13","1.27.3-r14","1.27.3-r15","1.27.3-r16","1.27.3-r17","1.27.3-r18","1.27.3-r19","1.27.3-r2","1.27.3-r20","1.27.3-r3","1.27.3-r4","1.27.3-r5","1.27.3-r7","1.27.3-r8","1.27.3-r9","28.3.0-r0","28.3.0-r1","28.3.0-r2","28.3.0-r3","28.3.0-r4","28.4.0-r0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-z4qe-2rxg-twgh-kvnv.json"}},{"package":{"name":"gitea-fips","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/gitea-fips"},"versions":["1.26.4-r1","1.27.0-r1","1.27.0-r2","1.27.1-r0","1.27.1-r1","1.27.1-r2","1.27.1-r3","1.27.2-r0","1.27.2-r1","1.27.2-r2","1.27.2-r3","1.27.2-r4","1.27.3-r0","1.27.3-r1","1.27.3-r10","1.27.3-r11","1.27.3-r12","1.27.3-r13","1.27.3-r14","1.27.3-r15","1.27.3-r16","1.27.3-r17","1.27.3-r18","1.27.3-r19","1.27.3-r2","1.27.3-r20","1.27.3-r3","1.27.3-r4","1.27.3-r5","1.27.3-r7","1.27.3-r8","1.27.3-r9","28.3.0-r0","28.3.0-r1","28.3.0-r2","28.3.0-r3","28.3.0-r4","28.4.0-r0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-z4qe-2rxg-twgh-kvnv.json"}},{"package":{"name":"gitea","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/gitea"},"versions":["1.26.4-r1","1.27.0-r1","1.27.0-r2","1.27.1-r0","1.27.1-r1","1.27.1-r2","1.27.1-r3","1.27.2-r0","1.27.2-r1","1.27.2-r2","1.27.2-r3","1.27.2-r4","1.27.3-r0","1.27.3-r1","1.27.3-r10","1.27.3-r11","1.27.3-r12","1.27.3-r13","1.27.3-r14","1.27.3-r15","1.27.3-r16","1.27.3-r17","1.27.3-r18","1.27.3-r19","1.27.3-r2","1.27.3-r20","1.27.3-r3","1.27.3-r4","1.27.3-r5","1.27.3-r7","1.27.3-r8","1.27.3-r9","28.3.0-r0","28.3.0-r1","28.3.0-r2","28.3.0-r3","28.3.0-r4","28.4.0-r0"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-z4qe-2rxg-twgh-kvnv.json","owner_kind":"HSP"}},{"package":{"name":"datahub-ingestion","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/datahub-ingestion"},"versions":["1.5.0.7-0","1.6.0.1-0","1.6.0.1-1","1.6.0.1-2","1.6.0.1-3","1.6.0.2-0","1.6.0.2-1","1.7.0.10-0","1.7.0.12-0","1.7.0.13-0","1.7.0.14-0","1.7.0.14-1","1.7.0.14-2","1.7.0.16-0","1.7.0.16-1","1.7.0.17-0","1.7.0.17-1","1.7.0.17-2","1.7.0.17-3","1.7.0.18-0","1.7.0.19-0","1.7.0.19-1","1.7.0.19-2","1.7.0.19-3","1.7.0.19-4","1.7.0.19-5","1.7.0.19-6","1.7.0.20-6","1.7.0.20-7","1.7.0.20-8"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-z4qe-2rxg-twgh-kvnv.json","owner_kind":"HSP"}},{"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-z4qe-2rxg-twgh-kvnv.json"}},{"package":{"name":"langfuse-2","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/langfuse-2"},"versions":["2.95.12-0","2.95.12-1","2.95.12-10","2.95.12-11","2.95.12-12","2.95.12-13","2.95.12-2","2.95.12-3","2.95.12-4","2.95.12-5","2.95.12-6","2.95.12-7","2.95.12-8","2.95.12-9"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-z4qe-2rxg-twgh-kvnv.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/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"}]}