Medium severity5.3NVD Advisory· Published Dec 4, 2026
CVE-2026-145166
CVE-2026-145166
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.
Affected products
1Patches
Vulnerability mechanics
References
6- github.com/fb55/domutils/blob/v4.0.2/src/querying.tsnvd
- github.com/fb55/domutils/commit/687bf59247f6929ee3ec86fac95dd26dcb28a017nvd
- github.com/fb55/domutils/commit/ac3ba78ab40b6d7627e3d33fc684ab9719626782nvd
- github.com/fb55/domutils/releases/tag/v4.1.0nvd
- github.com/fb55/domutils/security/advisories/GHSA-5pwf-qwq7-cwxjnvd
- www.vulncheck.com/advisories/domutils-1.0.0-before-4.1.0-stack-overflow-via-uncontrolled-recursion-in-findonenvd
News mentions
0No linked articles in our index yet.