Home › Vulnerabilities › fb55
domutils Denial-of-Service Flaws Fixed in 4.1.0 Across Six CVEs; Most Severe Are CPU and Memory Exhaustion
Six denial-of-service vulnerabilities in the Node.js library domutils were published together by NVD, affecting versions from 1.0.0 up to but not including 4.1.0. The most severe, CVE-2026-145165 and CVE-2026-145164 (both HIGH, CVSS 8.7), can stall the event loop or crash a Node.js process when a crafted document or feed is processed.
What to look into
- 6 vulnerabilities in fb55 domutils: 2 high, 4 medium (CVSS up to 8.7).
- None of them is known to be exploited yet.
- Start with CVE-2026-145165 (8.7 high): 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. Attacke… An attacker without an account can exploit this over the network, without any user action.
- 6 of 6 can be attacked over the network without logging in, 6 of them without anyone clicking anything.
- Kinds of flaws: Inefficient Algorithmic Complexity (×3); Uncontrolled Recursion (×2); Allocation of Resources Without Limits or Throttling.
Key points
- Six domutils DoS CVEs were published together by NVD, all affecting versions before 4.1.0.
- CVE-2026-145165 and CVE-2026-145164 are rated HIGH (CVSS 8.7) and are the most severe.
- CVE-2026-145164 can cause an uncatchable out-of-memory process crash via nested feed items.
- The four MEDIUM issues involve quadratic-time or deep recursion on nested documents.
- The sources do not state exploitation or a workaround beyond the 4.1.0 boundary.
The NVD published six vulnerabilities in fb55 domutils on 2026-12-04. Every record describes the same kind of flaw: a remote attacker supplies a crafted HTML, XML or feed document, and the library consumes excessive CPU, memory or call stack while handling it. Each record states that the affected range runs up to but not including version 4.1.0, so 4.1.0 is the version the records point to.
Most severe issues
CVE-2026-145165 (HIGH, CVSS 8.7) affects versions 1.3.0 before 4.1.0. Its removeSubsets() routine uses an inefficient algorithm, so documents with many nested or sibling nodes can exhaust CPU. The record notes this can be reached through css-select selectAll() or cheerio find() and can block the Node.js event loop for seconds.
CVE-2026-145164 (HIGH, CVSS 8.7) affects versions 2.8.0 before 4.1.0. In getFeed(), feeds with many nested item or entry elements around media:content elements multiply the collected media objects. According to the record, this can cause an out-of-memory termination that the process cannot catch.
Other flaws
The four MEDIUM (CVSS 6.9) records share a pattern of quadratic-time or unbounded recursion. CVE-2026-145168 and CVE-2026-145158 involve unshift() and shift() handling that becomes slow on deeply nested input, affecting find(), findAll() and compareDocumentPosition(). CVE-2026-145166 and CVE-2026-145167 concern recursion in findOne(), existsOne(), getElementById(), getText() and related functions; the records say roughly 20,000 or 10,000 nested levels can trigger a RangeError.
Who is affected and what to do
Any application that parses untrusted markup or feeds with domutils in the listed ranges is in scope. The sources give 4.1.0 as the boundary but do not describe a specific upgrade path, workaround, or detection method, and they do not state whether any of these issues has been exploited. Administrators should identify where domutils is a dependency, including indirect ones through css-select or cheerio, and plan to move to 4.1.0 or later.
What to do
- Inventory applications and dependencies (including via css-select or cheerio) that use domutils between the affected versions and 4.1.0.
- Upgrade domutils to version 4.1.0 or later, as the records indicate the issues are fixed before that version.
The 6 vulnerabilities
- CVE-2026-145165 8.7 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 proces…
- CVE-2026-145164 8.7 domutils 2.8.0 before 4.1.0 contains a memory exhaustion vulnerability in getFeed() that allows remote attackers to crash Node.js processes by supplying feeds with nested items. Attackers can nest many item or entry elements around media:c…
- CVE-2026-145168 6.9 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…
- CVE-2026-145166 6.9 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…
- CVE-2026-145167 6.9 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 a…
- CVE-2026-145158 6.9 domutils 1.5.0 before 4.1.0 contains a denial of service vulnerability in compareDocumentPosition() that takes quadratic time when building ancestor chains with unshift(). Attackers can supply HTML or XML documents with deeply nested eleme…
Frequently asked questions
How many fb55 domutils vulnerabilities were published on December 4, 2026?
6 vulnerabilities: 2 high, 4 medium, with CVSS scores up to 8.7.
Are any of them being exploited?
None of them is in CISA's Known Exploited Vulnerabilities catalog yet.
Which one should be fixed first?
CVE-2026-145165 (CVSS 8.7): 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. Attacke…