cvelo
P3 · MediumCVSS 5.3

domutils 1.1.0 before 4.1.0 Stack Overflow via getText() Uncontrolled Recursion

  • CVE-2026-145167
  • EUVD-2026-144359

Summary

CVE-2026-145167 affects domutils versions 1.1.0 up to, but not including, 4.1.0. The getText(), textContent() and innerText() functions in src/stringify.ts use uncontrolled recursion. An attacker can supply an HTML or XML document with roughly 10,000 nested levels, which triggers a RangeError from call stack exhaustion. The result is failed requests or termination of the Node.js process. The record gives a CVSS score of 5.3 and states the issue is not in the CISA known exploited vulnerabilities list.

AI summary · verify against the vendor advisory

Description

domutils 1.1.0 before 4.1.0 contains an uncontrolled recursion vulnerability in getText(), textContent() and innerText() in src/stringify.ts that allows attackers to exhaust the call stack. Attackers can supply HTML or XML documents with about 10,000 nested levels to trigger a RangeError, failing requests or terminating the Node.js process.

Text from the CVE.org record.

Recommendation

  • fb55 domutils

    • If you run a version from 1.1.0 to before 4.1.0update to 4.1.0 or laterMajor version change: expect breaking changes

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • fb55 domutils

    Affected versionsFixed in
    from 1.1.0 to before 4.1.04.1.0

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.