p PatchFirst

CVE-2026-83619

CVE-2026-83619 · xmldom: End-tag Whitespace-Trim Regex ReDoS — quadratic backtracking in the 0.8.x end-tag parser

Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.

xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. From 0.7.0 until 0.8.15, the release-0.8.x parser in lib/sax.js trims captured end-tag names with the unanchored global expression /[ \t\n\r]+$/g. For an end tag containing a long whitespace run followed by a non-whitespace character, the expression retries from each possible starting position and backtracks quadratically before failing its end anchor. DOMParser.parseFromString() reaches the path under default options, allowing a small unauthenticated XML input to stall the Node.js event loop; the 0.9.x and unscoped npm lines do not contain this expression. This issue is fixed in @xmldom/xmldom version 0.8.15.

CVSS 8.7 · Élevée · EPSS 0,5% · Correctif disponible

Publication
Mise à jour

Pile logicielle: system · node

Produits et versions concernés

  • xmldom

    Versions du logiciel
    • >= 0.7.0, < 0.8.15: Concernée

    Aucun correctif publié

  • node-xmldom Debian:12

    Versions du logiciel
    • 0.8.6-1
    • 0.9.10-1
    • 0.9.10-2
    • 0.9.11-1
    • 0.9.12-1
    • 0.9.5-1
    • 0.9.6-1
    • 0.9.8-1
    • 0.9.8-2
    • 0.9.9-1
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • node-xmldom Debian:13

    Plages de versions concernées
    • ECOSYSTEM: < 0.9.5-1

    Mettez à jour vers 0.9.5-1

  • node-xmldom Debian:14

    Plages de versions concernées
    • ECOSYSTEM: < 0.9.5-1

    Mettez à jour vers 0.9.5-1

  • @xmldom/xmldom npm

    Plages de versions concernées
    • SEMVER: ≥ 0.7.0, < 0.8.15

    Mettez à jour vers 0.8.15

  • node-xmldom Ubuntu:20.04:LTS

    Versions du logiciel
    • 0.1.27+ds-1
    • 0.1.27+ds-1+deb10u2build0.20.04.1
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • node-xmldom Ubuntu:22.04:LTS

    Versions du logiciel
    • 0.5.0-1
    • 0.7.3-1
    • 0.7.5-1
    • 0.7.5-1ubuntu0.22.04.1
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • node-xmldom Ubuntu:24.04:LTS

    Versions du logiciel
    • 0.8.6-1
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

Sources originales

Vérifiez votre serveur →