CVE-2026-145168
Received Received - Intake

Quadratic-Time DoS in domutils via Nested Document Search

Vulnerability report for CVE-2026-145168, 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 3.1.0 before 4.1.0 contains a quadratic-time denial of service vulnerability in find() and findAll() caused by stack handling with unshift() and shift(). Attackers can supply deeply nested HTML or XML documents searched via filter(), getElements(), or getElementsByTagName() to block the Node.js event loop.

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 3.1.0 (inc) to 4.1.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-407 An algorithm in a product has an inefficient worst-case computational complexity that may be detrimental to system performance and can be triggered by an attacker, typically using crafted manipulations that ensure that the worst case is being reached.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

domutils 3.1.0 before 4.1.0 has a quadratic-time denial of service flaw in find() and findAll() functions due to inefficient stack handling with unshift() and shift() operations. Attackers can exploit this by providing deeply nested HTML or XML documents, causing the Node.js event loop to block during searches via filter(), getElements(), or getElementsByTagName().

Detection Guidance

This vulnerability is specific to the domutils library in Node.js applications. To detect it, check if your project uses domutils version 3.1.0 or earlier. Run: npm list domutils. If the version is 3.1.0 or below, the system is vulnerable.

Impact Analysis

This vulnerability can cause your Node.js application to hang or crash when processing large or maliciously crafted HTML/XML documents. It may lead to unresponsive services, degraded performance, or complete denial of service for applications relying on domutils for parsing or searching.

Mitigation Strategies

Upgrade domutils to version 4.1.0 or later immediately. Run: npm update domutils. If using a package-lock.json, delete it and reinstall dependencies to ensure the update is applied.

Chat Assistant

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