domutils 1.0.0 before 4.1.0 Stack Overflow via Uncontrolled Recursion in findOne()
- CVE-2026-145166
- EUVD-2026-144360
Summary
CVE-2026-145166 affects domutils versions 1.0.0 up to but not including 4.1.0. The findOne(), existsOne() and getElementById() functions use uncontrolled recursion, so an attacker who supplies a document with roughly 20,000 nested elements can exhaust the call stack and trigger a RangeError. The result is request failures or process termination, a denial-of-service risk for any service that parses untrusted markup with this library. The record rates it CVSS 5.3 and it is not listed in the CISA known exploited vulnerabilities catalog. Engineers running affected versions should plan to upgrade to 4.1.0 or later.
AI summary · verify against the vendor advisory
Description
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.
Text from the CVE.org record.
Recommendation
fb55 domutils
- If you run a version from 1.0.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 versions Fixed in from 1.0.0 to before 4.1.0 4.1.0
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.