CVE catalog

CVE-2024-45801

node-dompurify: CVE-2024-45801

[CVE catalog]

Severity
High · CVSS 7CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:L
Published
Source
[NVD] · [CVE record]
EPSS
0.89% · Oct 25, 2026

DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. It has been discovered that malicious HTML using special nesting techniques can bypass the depth checking added to DOMPurify in recent releases. It was also possible to use Prototype Pollution to weaken the depth check. This renders dompurify unable to avoid cross site scripting (XSS) attacks. This issue has been addressed in versions 2.5.4 and 3.1.3 of DOMPurify. All users are advised to upgrade. There are no known workarounds for this vulnerability.

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.17+dfsg-1not affected
Debiannode-dompurifyforky3.4.16+dfsg-1not affected
Debiannode-dompurifytrixie3.1.7+dfsg+~3.0.5-2not affected
Debiannode-dompurifybookworm2.4.1+dfsg+~2.4.0-2+deb12u1fixed
Debiannode-dompurifybookworm-security2.4.1+dfsg+~2.4.0-2vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-dompurifysourcesidNot affectedunimportantNot reportedNot reported
Debiannode-dompurifysourceforkyNot affectedunimportantNot reportedNot reported
Debiannode-dompurifysourcetrixieNot affectedunimportantNot reportedNot reported
Debiannode-dompurifysourcebookworm2.4.1+dfsg+~2.4.0-2+deb12u1not yet assignedNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

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

      Fixed · Fixed: 2.4.1+dfsg+~2.4.0-2+deb12u1

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

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

      Fixed · Fixed: 2.4.1+dfsg+~2.4.0-2+deb12u1

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

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

      Affected · Fixed: 2.4.1+dfsg+~2.4.0-2+deb12u1

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

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

      Affected · Fixed: 2.4.1+dfsg+~2.4.0-2+deb12u1

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

Observed:

References