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.
CVSS
HIGH 8.7 · v4.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XWEAKNESSES
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
- https://github.com/fb55/domutils/security/advisories/GHSA-42h4-gpjh-8xhf
This record is mirrored from the NIST National Vulnerability Database and republished unchanged. It may have been revised or withdrawn since we last synced it; check the record at NVD before relying on it.