Uncontrolled recursion in domutils getText() exhausts the call stack
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-674.
Summary
domutils from 1.1.0 before 4.1.0 by fb55 contains uncontrolled recursion in getText(), textContent() and innerText() in src/stringify.ts. A remote attacker can supply HTML or XML documents with about 10,000 nested levels, which triggers a RangeError, fails requests or terminates the Node.js process. The attack requires no privileges and no user interaction.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade domutils to version 4.1.0.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
- Fix · CNA domutils (fb55) Fixed in 4.1.0
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
fb55 domutils 4.1.0
6 records Highest priority Priority HIGH 2 HIGH, 4 MEDIUM
Other records, highest priority first
- TI-2026-104279 Inefficient algorithm in domutils removeSubsets() enables denial of servicePriority HIGH 77
- TI-2026-104278 Memory exhaustion in domutils getFeed() crashes Node.js processesPriority MEDIUM 53
- TI-2026-104282 Quadratic-time denial of service in domutils find() and findAll()Priority MEDIUM 46
Timeline
- 2026-12-04 Threatist record created from CVE-2026-145167
- 2026-12-04 CISA SSVC decision points changed
References
More fb55 vulnerabilities
- TI-2026-104279 Inefficient algorithm in domutils removeSubsets() enables denial of service CVSS 4.0HIGH 8.7
- TI-2026-104278 Memory exhaustion in domutils getFeed() crashes Node.js processes CVSS 4.0HIGH 8.7
- TI-2026-104282 Quadratic-time denial of service in domutils find() and findAll() CVSS 4.0MEDIUM 6.9
- TI-2026-104280 Uncontrolled recursion in domutils findOne() exhausts the call stack CVSS 4.0MEDIUM 6.9
- TI-2026-104273 Denial of service in domutils compareDocumentPosition() CVSS 4.0MEDIUM 6.9
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences