domutils 1.3.0 before 4.1.0 Denial of Service via removeSubsets() Inefficient Algorithm
- CVE-2026-145165
- EUVD-2026-144361
Summary
CVE-2026-145165 affects domutils from 1.3.0 before 4.1.0. The removeSubsets() function uses an inefficient algorithm, so documents with many nested or sibling nodes consume excessive CPU. A remote attacker can submit crafted HTML or XML that is processed through css-select selectAll() or cheerio find(), blocking the Node.js event loop for seconds and causing denial of service. The record carries a CVSS score of 7.5 and is not listed in the CISA known exploited vulnerabilities catalog.
AI summary · verify against the vendor advisory
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.
Text from the CVE.org record.
Recommendation
fb55 domutils
- If you run a version from 1.3.0 to before 4.1.0update to 4.1.0 or laterMajor version change: expect breaking changes
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
fb55 domutils
Affected versions Fixed in from 1.3.0 to before 4.1.0 4.1.0
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.