CVE-2026-145168: domutils 3.1.0 before 4.1.0 Denial of Service via find() and findAll()

Published Dec 4, 2026
·
Updated

domutils 3.1.0 before 4.1.0 contains a quadratic-time denial of service vulnerability in find() and findAll() caused by stack handling with unshift() and shift(). Attackers can supply deeply nested HTML or XML documents searched via filter(), getElements(), or getElementsByTagName() to block the Node.js event loop.

Affected Software

1 affected component
npm/domutils>=3.1.0<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 realistically exposed to this denial of service?

Node.js applications using domutils versions 3.1.0 through versions before 4.1.0 are exposed when they process attacker-controlled HTML or XML and search it with filter(), getElements(), or getElementsByTagName(). The impact is blocking of the Node.js event loop.

2

What does an attacker need to exploit the issue?

An attacker needs to be able to provide a deeply nested HTML or XML document that the application subsequently searches through one of the affected domutils APIs. No authentication or user interaction is required according to the supplied severity vector.

3

Is a default installation affected?

The provided data identifies affected domutils versions but does not establish whether an application's default configuration invokes the affected search functions on untrusted documents. Exposure depends on whether attacker-controlled HTML or XML reaches filter(), getElements(), or getElementsByTagName().

4

How can I determine whether my application is affected?

Check whether your dependency tree includes npm/domutils version 3.1.0 or later but earlier than 4.1.0. Then identify code paths that parse untrusted HTML or XML and call filter(), getElements(), or getElementsByTagName() on the resulting documents.

5

What should be done to remediate the issue?

Update domutils to version 4.1.0 or later. The supplied release and commit references identify version 4.1.0 as the release containing the fix.

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