CVE-2026-145167: domutils 1.1.0 before 4.1.0 Stack Overflow via getText() Uncontrolled Recursion

Published Dec 4, 2026
·
Updated

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.

Affected Software

1 affected component
npm/domutils>=1.1.0<4.1.0

Event History

Dec 4, 2026
CVE Published
via MITRE·04:30 PM
Data Sourced
via MITRE·04:30 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:19 PM
DescriptionSeverityWeakness
Event
via NVD·05:19 PM

Frequently Asked Questions

1

Who is exposed to this denial-of-service issue?

Applications using affected domutils versions are exposed when they process attacker-controlled HTML or XML and call getText(), textContent(), or innerText() on the resulting document or nodes. Network reachability depends on whether an attacker can submit such content to a request-processing path.

2

What does an attacker need to trigger the failure?

An attacker needs to supply an HTML or XML document with roughly 10,000 nested levels that reaches one of the affected stringification functions. No privileges or user interaction are required according to the supplied severity vector.

3

What happens when exploitation succeeds?

The uncontrolled recursion exhausts the call stack and raises a RangeError. This can fail the active request or terminate the Node.js process, causing a denial of service.

4

What should be done if an immediate upgrade is not possible?

The provided data does not specify an official workaround. As an operational mitigation, avoid passing untrusted documents to the affected functions unless the application can enforce a nesting-depth limit before processing.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203