CVE-2026-145165: domutils 1.3.0 before 4.1.0 Denial of Service via removeSubsets() Inefficient Algorithm

Published Dec 4, 2026
·
Updated

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.

Affected Software

1 affected component
npm/domutils>=1.3.0<4.1.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/domutils to a version that resolves this vulnerability.

    Fixed in 4.1.0

Event History

Dec 4, 2026
CVE Published
via MITRE·04:30 PM
Data Sourced
via MITRE·04:30 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which applications are exposed to this issue?

Node.js applications using npm/domutils in versions 1.3.0 through versions before 4.1.0 are exposed when they process attacker-controlled HTML or XML through css-select selectAll() or cheerio find().

2

What must an attacker provide to trigger the denial of service?

The attacker must be able to submit crafted HTML or XML containing many nested or sibling nodes that the application processes with the affected selector operations. No authentication or user interaction is required according to the supplied vector.

3

What is the operational impact of a successful attack?

Processing the crafted document can consume CPU and block the Node.js event loop for seconds. This can make the affected application unavailable or unresponsive while the input is handled.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203