Catalogo CVE

CVE-2026-41240

DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG. Versions prior to 3.4.0 have an inconsistency between FORBID_TAGS and FORBID_ATTR handling when function-based ADD_TAG

[Catalogo CVE]

Gravità
High · CVSS 8.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
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. Versions prior to 3.4.0 have an inconsistency between FORBID_TAGS and FORBID_ATTR handling when function-based ADD_TAGS is used. Commit c361baa added an early exit for FORBID_ATTR at line 1214. The same fix was not applied to FORBID_TAGS. At line 1118-1123, when EXTRA_ELEMENT_HANDLING.tagCheck returns true, the short-circuit evaluation skips the FORBID_TAGS check entirely. This allows forbidden elements to survive sanitization with their attributes intact. Version 3.4.0 patches the issue.

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
CpedompurifyNot reported3.4.0fixed
Opensuseargocd-clitumbleweed3.4.3-1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-dompurifysourcesid3.4.1+dfsg-1not yet assignedNot reported[1134892]
Debiannode-dompurifysourceforky3.4.1+dfsg-1not yet assignedNot reported[1134892]
Debiannode-dompurifysourcetrixie(unfixed)not yet assignedNot reported[1134892]
Debiannode-dompurifysourcebookworm(unfixed)not yet assignedNot reported[1134892]
CpedompurifycpeNot reported3.4.0Not reportedNot reportedNot reported
Opensuseargocd-clirpmtumbleweed3.4.3-1.1Not reportedOPENSUSE-SU-2026:10888-1Not reported

[Debian bug #1134892]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

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

      Interessata

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

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

      Interessata

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

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

      Interessata

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

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

      Interessata

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

[Debian 13 (Trixie)]

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

      Interessata

      nvd · node-dompurify · debian · 13

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

      Interessata

      nvd · node-dompurify · debian · 13

[openSUSE Tumbleweed]

  • Pacchetto sorgente: [argocd-cli]

    Dettagli (1)
    • 3.5.2-1.1 · noarch · tumbleweed

      Sconosciuto · Corretta: 3.4.3-1.1

      Version impact unknown

      nvd · argocd-cli · opensuse · tumbleweed

  • Pacchetto sorgente: [argocd-cli]

    Dettagli (1)
    • 3.5.2-1.1 · noarch · tumbleweed

      Sconosciuto · Corretta: 3.4.3-1.1

      Version impact unknown

      nvd · argocd-cli · opensuse · tumbleweed

  • [argocd-cli]Corretta

    Pacchetto sorgente: [argocd-cli]

    Dettagli (1)
    • 3.5.2-1.1 · x86_64 · tumbleweed

      Corretta · Corretta: 3.4.3-1.1

      nvd · argocd-cli · opensuse · tumbleweed

Osservato:

Riferimenti