CVE-2026-145165

7.5High

Published Dec 4, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite

7.5CVSS

High

0CVSS v3.110

Attack vector
Network
Complexity
Low
Privileges
None
User action
None
Impact
High impact on availability
Weakness
CWE-407

What an attacker gets

Remote attackers can cause a denial of service by exhausting CPU resources. They only need to send crafted HTML or XML documents to an application using the library.

Root cause

The removeSubsets() function uses an inefficient algorithm that scales poorly with deeply nested or sibling nodes.

Affected versions

domutils 1.3.0 through 4.0.2

CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Fix & remediation

Upgrade to domutils 4.1.0 or later. If you cannot patch immediately, implement request size limits or depth validation for input documents before processing.

remediation — bash
$ npm install domutils@latest

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD description

domutils 1.3.0 before 4.1.0 contains an inefficient algorithm in removeSubsets() that allows remote attackers to cause CPU exhaustion by supplying documents with many nested or sibling nodes. Attackers can submit crafted HTML or XML processed by css-select selectAll() or cheerio find() to block the Node.js event loop for seconds.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-145165

More fully triaged vulnerabilities you may want to check next.