[From nobody Fri Jul 17 10:21:04 2026
Received: (at submit) by bugs.debian.org; 17 Jul 2026 06:38:49 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-9.9 required=4.0 tests=BAYES_00, FOURLA,
 FROMDEVELOPER, 
 NO_RELAYS,XMAILER_REPORTBUG autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 48; hammy, 150; neutral, 70; spammy,
 0. spammytokens: hammytokens:0.000-+--H*F:U*carnil,
 0.000-+--XDebbugsCc, 0.000-+--X-Debbugs-Cc, 0.000-+--H*Ad:N*Bug,
 0.000-+--H*Ad:N*Tracking
Return-path: &lt;carnil@debian.org&gt;
Received: via submission by buxtehude.debian.org with esmtp (Exim 4.96)
 (envelope-from &lt;carnil@debian.org&gt;) id 1wkcDg-00GfXr-0h
 for submit@bugs.debian.org; Fri, 17 Jul 2026 06:38:49 +0000
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Salvatore Bonaccorso &lt;carnil@debian.org&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: node-dompurify: CVE-2026-49978 CVE-2026-49459 CVE-2026-49458
Message-ID: &lt;178427032559.484888.13492972777417023897.reportbug@eldamar.lan&gt;
X-Mailer: reportbug 13.2.0+nmu1
Date: Fri, 17 Jul 2026 08:38:45 +0200
Delivered-To: submit@bugs.debian.org

Source: node-dompurify
Version: 3.4.5+dfsg-1
Severity: important
Tags: security upstream
X-Debbugs-Cc: carnil@debian.org, Debian Security Team &lt;team@security.debian.org&gt;

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
| &lt;template&gt;.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 &lt;form&gt; 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 &amp; 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
]