CVE-2026-145165
7.5HighPublished Dec 4, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite
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.
$ npm install domutils@latestAI-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
- https://github.com/fb55/domutils/blob/v4.0.2/src/helpers.ts#L11-L40
- https://github.com/fb55/domutils/commit/2c13c4f8db7838447659608e876099a8d1a28181
- https://github.com/fb55/domutils/commit/2c9cac0f3f6905cd91277b82493f1b13d921a1eb
- https://github.com/fb55/domutils/releases/tag/v4.1.0
- https://github.com/fb55/domutils/security/advisories/GHSA-42h4-gpjh-8xhf
- https://www.vulncheck.com/advisories/domutils-1.3.0-before-4.1.0-denial-of-service-via-removesubsets-inefficient-algorithm
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-1451647.5HighUnauthenticated attackers can crash your Node.js process by sending a specially crafted feed. This leads to a denial of service via memory exhaustion.
- CVE-2026-774568.1HighAn attacker can impersonate any user by replaying intercepted presentation tokens. This bypasses holder proof-of-possession and nonce validation requirements.
- CVE-2026-774329.3CriticalUnauthenticated attackers can execute arbitrary SQL queries to modify, delete, or exfiltrate data from your database. No user interaction or authentication is required to exploit this.
- CVE-2026-767687.0HighRemote attackers can execute arbitrary scripts on the appliance. This requires network access to the management interface.
- CVE-2026-623608.8HighAuthenticated users with namespace creation permissions can escalate privileges to the host level. They achieve this by crafting a malicious RabbitmqCluster resource that forces the operator to deploy a privileged pod.
- CVE-2026-476779.3CriticalUnauthenticated attackers can bypass authentication and gain full access to the application. They only need to brute-force the TOTP endpoint at /login?action=two-factor-validation.