CVE catalog

CVE-2026-49458

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

[CVE catalog]

Severity
Medium · CVSS 6.1
Published
Source
[NVD] · [CVE record]
EPSS
0.40% · Oct 22, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiannode-dompurifysid3.4.16+dfsg-1fixed
Debiannode-dompurifyforky3.4.16+dfsg-1fixed
Debiannode-dompurifytrixie3.1.7+dfsg+~3.0.5-2vulnerable
Debiannode-dompurifybookworm2.4.1+dfsg+~2.4.0-2+deb12u1vulnerable
Debiannode-dompurifybookworm-security2.4.1+dfsg+~2.4.0-2vulnerable
Cpenode-dompurifyNot reportedNot reportedvulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-dompurifysourcesid3.4.12+dfsg-1not yet assignedNot reported[1142280]
Debiannode-dompurifysourceforky3.4.12+dfsg-1not yet assignedNot reported[1142280]
Debiannode-dompurifysourcetrixie(unfixed)not yet assignedNot reported[1142280]
Debiannode-dompurifysourcebookworm(unfixed)not yet assignedNot reported[1142280]

[Debian bug #1142280]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [node-dompurify]Affected
    Details (4)
    • 2.4.1+dfsg+~2.4.0-2+deb12u1 · all · bookworm

      Affected

      nvd · node-dompurify · debian · bookworm; nvd · node-dompurify · debian · 12

    • 2.4.1+dfsg+~2.4.0-2+deb12u1 · all · bookworm

      Affected

      nvd · node-dompurify · debian · bookworm; nvd · node-dompurify · debian · 12

    • 2.4.1+dfsg+~2.4.0-2 · all · bookworm-security

      Affected

      nvd · node-dompurify · debian · bookworm; nvd · node-dompurify · debian · 12

    • 2.4.1+dfsg+~2.4.0-2 · all · bookworm-security

      Affected

      nvd · node-dompurify · debian · bookworm; nvd · node-dompurify · debian · 12

[Debian 13 (Trixie)]

  • [node-dompurify]Affected
    Details (2)
    • 3.1.7+dfsg+~3.0.5-2 · all · trixie

      Affected

      nvd · node-dompurify · debian · 13

    • 3.1.7+dfsg+~3.0.5-2 · all · trixie

      Affected

      nvd · node-dompurify · debian · 13

Observed:

References