CVE-2026-145167
Received Received - Intake

Uncontrolled Recursion in domutils HTML Parser

Vulnerability report for CVE-2026-145167, 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.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.

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.1.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

This vulnerability is an uncontrolled recursion flaw in the domutils library versions 1.1.0 to 4.0.9. It affects functions like getText(), textContent(), and innerText() in the src/stringify.ts file. Attackers can exploit this by providing HTML or XML documents with around 10,000 nested levels, causing a RangeError that exhausts the call stack. This may lead to request failures or Node.js process termination.

Detection Guidance

The vulnerability can be detected by checking the version of domutils in use. If it is below 4.1.0, the system is vulnerable. Commands like 'npm list domutils' or inspecting package.json can help verify the installed version.

Impact Analysis

If you use domutils in your application, an attacker could send malicious input with extreme nesting to crash your server or disrupt services. This could cause downtime, data processing failures, or denial-of-service conditions affecting users.

Mitigation Strategies

Upgrade domutils to version 4.1.0 or higher immediately. Use 'npm update domutils' or modify package.json to specify the updated version. Remove or restrict access to untrusted HTML/XML inputs that could trigger the recursion issue.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-145167. 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...