{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-41240","published":"2026-04-23T16:16:26.710000Z","last_modified":"2026-10-26T21:10:00.170000Z","status":"Analyzed","cvss":{"version":"4.0","score":6.0,"severity":"MEDIUM","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/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","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-79","CWE-183"],"cpes":[{"criteria":"cpe:2.3:a:cure53:dompurify:*:*:*:*:*:*:*:*","part":"a","vendor":"cure53","product":"dompurify","version_end_excluding":"3.4.0"}],"cpes_truncated":false,"vendors":["cure53"],"products":["cure53/dompurify"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-h7mw-gpvr-xq4m","ecosystem":"npm","name":"dompurify","purl":"pkg:npm/dompurify","ranges":[{"introduced":"0","fixed":"3.4.0"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":51,"links":{"html_es":"/es/cve/CVE-2026-41240/","html_en":"/en/cve/CVE-2026-41240/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-41240","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-41240"},"untrusted":{"vendor_name":"Cure53","product_name":"Dompurify","desc_en":"DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG. Versions prior to 3.4.0 have an inconsistency between FORBID_TAGS and FORBID_ATTR handling when function-based ADD_TAGS is used. Commit c361baa added an early exit for FORBID_ATTR at line 1214. The same fix was not applied to FORBID_TAGS. At line 1118-1123, when EXTRA_ELEMENT_HANDLING.tagCheck returns true, the short-circuit evaluation skips the FORBID_TAGS check entirely. This allows forbidden elements to survive sanitization with their attributes intact. Version 3.4.0 patches the issue.","affected":[{"untrusted_vendor":"cure53","untrusted_product":"DOMPurify","versions":[]}],"references":[{"url":"https://github.com/cure53/DOMPurify/commit/c361baa18dbdcb3344a41110f4c48ad85bf48f80","tags":["Patch"]},{"url":"https://github.com/cure53/DOMPurify/releases/tag/3.4.0","tags":["Product","Release Notes"]},{"url":"https://github.com/cure53/DOMPurify/security/advisories/GHSA-h7mw-gpvr-xq4m","tags":["Exploit","Mitigation","Patch","Vendor Advisory"]}]},"bulletins":[{"source":"redhat","id":"RHSA-2026:34160","url":"https://access.redhat.com/errata/RHSA-2026:34160","published":"2026-07-02T10:17:34+00:00","severity":"high","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Product Security and Bug Fix Update"}},{"source":"suse","id":"openSUSE-SU-2026:10888-1","url":"https://www.suse.com/support/update/","published":"2026-05-29T00:00:00+00:00","severity":"medium","exploited":false,"untrusted":{"title":"argocd-cli-3.4.3-1.1 on GA media"}}]}