CVE-2026-145166: domutils 1.0.0 before 4.1.0 Stack Overflow via Uncontrolled Recursion in findOne()

Published Dec 4, 2026
·
Updated

domutils 1.0.0 before 4.1.0 contains an uncontrolled recursion vulnerability in findOne(), existsOne() and getElementById() that allows attackers to exhaust the call stack with deeply nested documents. Attackers can supply HTML or XML with about 20,000 nested elements to trigger a RangeError, causing request failures or process termination.

Affected Software

1 affected component
npm/domutils>=1.0.0<4.1.0

Event History

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

Frequently Asked Questions

1

Who is exposed to this issue?

Applications using npm/domutils versions from 1.0.0 up to, but not including, 4.1.0 are exposed when they process attacker-supplied HTML or XML and invoke findOne(), existsOne(), or getElementById().

2

What does an attacker need to do to trigger the failure?

An attacker needs to provide a deeply nested HTML or XML document. Approximately 20,000 nested elements can exhaust the call stack and produce a RangeError.

3

What is the operational impact of successful exploitation?

Exploitation can cause request failures or terminate the affected process. The provided severity vector indicates availability impact only, with no stated confidentiality or integrity impact.

4

What can be done if upgrading is not immediately possible?

Limit or reject overly deep HTML or XML documents before they reach the affected domutils lookup functions. This reduces the ability to supply the nesting depth needed to exhaust the call stack.

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