CVE-2026-145165
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| fb55 | domutils | {"startIncluding":"1.3.0","endExcluding":"4.1.0"} | 4.1.0 |
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
CWEs
CWE-407
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.