CVE-2026-145166
Received Received - Intake

Uncontrolled Recursion in domutils via Nested Documents

Vulnerability report for CVE-2026-145166, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-04

Last updated on: 2026-12-04

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-04
Last Modified
2026-12-04
Generated
2026-12-04
AI Q&A
2026-12-04
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
fb55 domutils From 1.0.0 (inc) to 4.1.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-674 The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

domutils versions 1.0.0 to 4.1.0 have an uncontrolled recursion flaw in functions like findOne(), existsOne(), and getElementById(). Attackers can craft HTML or XML with around 20,000 nested elements to trigger a RangeError, crashing applications by exhausting the call stack.

Detection Guidance

Detecting this vulnerability requires checking if your system uses domutils 1.0.0 before 4.1.0. Inspect installed versions of domutils via package managers like npm (npm list domutils) or check dependency files (package.json). Monitor for RangeError exceptions in applications processing deeply nested HTML/XML documents.

Impact Analysis

This vulnerability can cause application crashes, service disruptions, or denial-of-service conditions if exploited. Systems processing untrusted nested documents are at risk of unexpected termination.

Mitigation Strategies

Upgrade domutils to version 4.1.0 or later immediately. If upgrading is not possible, implement input validation to reject or limit the depth of nested documents. Add stack overflow protections in your application code to handle deep recursion gracefully.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-145166. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...