Inefficient algorithm in domutils removeSubsets() enables denial of service
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-407.
Summary
domutils versions from 1.3.0 before 4.1.0 contain an inefficient algorithm in removeSubsets() (CWE-407). A remote attacker can supply HTML or XML documents with many nested or sibling nodes, causing CPU exhaustion that blocks the Node.js event loop for seconds when processed by css-select selectAll() or cheerio find().
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade domutils to version 4.1.0 or later.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
- Fix · CNA domutils (fb55) Fixed in 4.1.0
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
fb55 domutils 4.1.0
6 records Highest priority Priority HIGH 2 HIGH, 4 MEDIUM
Other records, highest priority first
- TI-2026-104281 Uncontrolled recursion in domutils getText() exhausts the call stackPriority HIGH 70
- TI-2026-104278 Memory exhaustion in domutils getFeed() crashes Node.js processesPriority MEDIUM 53
- TI-2026-104282 Quadratic-time denial of service in domutils find() and findAll()Priority MEDIUM 46
Timeline
- 2026-12-04 Threatist record created from CVE-2026-145165
- 2026-12-04 CISA SSVC decision points changed
References
Patch 2
More fb55 vulnerabilities
- TI-2026-104281 Uncontrolled recursion in domutils getText() exhausts the call stack CVSS 4.0MEDIUM 6.9
- TI-2026-104278 Memory exhaustion in domutils getFeed() crashes Node.js processes CVSS 4.0HIGH 8.7
- TI-2026-104282 Quadratic-time denial of service in domutils find() and findAll() CVSS 4.0MEDIUM 6.9
- TI-2026-104280 Uncontrolled recursion in domutils findOne() exhausts the call stack CVSS 4.0MEDIUM 6.9
- TI-2026-104273 Denial of service in domutils compareDocumentPosition() CVSS 4.0MEDIUM 6.9
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences