Source: node-dompurify
Version: 3.4.5+dfsg-1
Severity: important
Tags: security upstream
X-Debbugs-Cc: [email protected], Debian Security Team <[email protected]>
Hi,
The following vulnerabilities were published for node-dompurify.
CVE-2026-49978[0]:
| 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.
CVE-2026-49459[1]:
| DOMPurify is a DOM-only cross-site scripting sanitizer for HTML,
| MathML, and SVG. Prior to 3.4.6, DOMPurify.sanitize(root, {
| IN_PLACE: true }) could preserve event-handler attributes on an
| attacker-controlled <form> root when a descendant name clobbered
| properties checked by _isClobbered, because _forceRemove no-opped on
| the parent-less root and _sanitizeAttributes returned early. This
| issue is fixed in version 3.4.6.
CVE-2026-49458[2]:
| DOMPurify is a DOM-only cross-site scripting sanitizer for HTML,
| MathML, and SVG. Prior to 3.4.6, DOMPurify.sanitize(node, {
| IN_PLACE: true }) accepted same-origin foreign-realm DOM nodes while
| follow-on checks used parent-realm constructors, causing instanceof
| checks for forms, named node maps, document fragments, and elements
| to fail and skip clobber, template-content, and shadow-DOM
| sanitization branches so executable markup could survive. This issue
| is fixed in version 3.4.6.
If you fix the vulnerabilities please also make sure to include the
CVE (Common Vulnerabilities & Exposures) ids in your changelog entry.
For further information see:
[0] https://security-tracker.debian.org/tracker/CVE-2026-49978
https://www.cve.org/CVERecord?id=CVE-2026-49978
[1] https://security-tracker.debian.org/tracker/CVE-2026-49459
https://www.cve.org/CVERecord?id=CVE-2026-49459
[2] https://security-tracker.debian.org/tracker/CVE-2026-49458
https://www.cve.org/CVERecord?id=CVE-2026-49458
Please adjust the affected versions in the BTS as needed.
Regards,
Salvatore