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

Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.

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 · Alta · EPSS 0,5% · Corrección disponible

Publicación
Actualización

Pila tecnológica: system · node

Productos y versiones afectados

  • xmldom

    Versiones
    • >= 0.7.0, < 0.8.15: Afectada

    Sin corrección publicada

  • node-xmldom Debian:12

    Versiones
    • 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
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • node-xmldom Debian:13

    Intervalos de versiones afectados
    • ECOSYSTEM: < 0.9.5-1

    Actualiza a 0.9.5-1

  • node-xmldom Debian:14

    Intervalos de versiones afectados
    • ECOSYSTEM: < 0.9.5-1

    Actualiza a 0.9.5-1

  • @xmldom/xmldom npm

    Intervalos de versiones afectados
    • SEMVER: ≥ 0.7.0, < 0.8.15

    Actualiza a 0.8.15

  • node-xmldom Ubuntu:20.04:LTS

    Versiones
    • 0.1.27+ds-1
    • 0.1.27+ds-1+deb10u2build0.20.04.1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • node-xmldom Ubuntu:22.04:LTS

    Versiones
    • 0.5.0-1
    • 0.7.3-1
    • 0.7.5-1
    • 0.7.5-1ubuntu0.22.04.1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • node-xmldom Ubuntu:24.04:LTS

    Versiones
    • 0.8.6-1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

Fuentes originales

Comprueba tu servidor →