{"id":"CVE-2026-49978","revision":"87e15c1bc6194311acbc2b4c26ee1c90","records":[{"revision":"87e15c1bc6194311acbc2b4c26ee1c90","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-49978","aliases":[],"title":"DOMPurify IN_PLACE Sanitization Bypass via Attached Shadow Root Inside <template>.content","description":"DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG. Prior to 3.4.7, DOMPurify IN_PLACE sanitization could skip shadow contents attached to an element inside <template>.content, allowing attacker-controlled markup such as event handlers, JavaScript URLs, or scripts to survive and execute when an application cloned and inserted the sanitized template. This issue is fixed in version 3.4.7.","state":0,"publishedAt":"2026-07-14T20:02:46.263+00:00","modifiedAt":"2026-07-21T14:59:20.582+00:00","affected":[{"ecosystem":"Vendor product","name":"DOMPurify","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"cure53\",\n                    \"product\": \"DOMPurify\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 3.4.6\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N","score":6.3,"severity":"MEDIUM"}],"references":["https://github.com/cure53/DOMPurify/security/advisories/GHSA-rp9w-3fw7-7cwq","https://github.com/cure53/DOMPurify/commit/ca30f070c360df162a3e3848e80e6fd3c9e74bff","https://github.com/cure53/DOMPurify/releases/tag/3.4.7"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-49978","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-49978","identifiers":["CVE-2026-49978"]},"retained":false,"historicalAffected":[]}],"coverage":[]}