Read the docs

Quadratic-time denial of service in domutils find() and findAll()

Priority MEDIUM 46CWE-407Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · Low
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-407.

Summary

The domutils package from fb55, versions from 3.1.0 before 4.1.0, takes quadratic time in find() and findAll() because of how it manages its stack (CWE-407). A remote attacker needs no privileges or user interaction to supply deeply nested HTML or XML documents that block the Node.js event loop.

Written with Claude Haiku 5.5 from the sources below · 2026-12-04

Description from the CNA

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.

Why it matters now

Fix Fixed domutils (fb55): 4.1.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
fb55domutils3.1.0 to before 4.1.04.1.0Patch availableCNA
  • domutils Vendorfb55 Affected 3.1.0 to before 4.1.0 Fixed in 4.1.0 Patch available CNA

Remediation

Upgrade the domutils package from fb55 to version 4.1.0.

Written with Claude Haiku 5.5 from the sources below · 2026-12-04

  • Fix · CNA domutils (fb55) Fixed in 4.1.0

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    fb55 domutils 4.1.0

    6 records Highest priority Priority HIGH 2 HIGH, 4 MEDIUM

    Other records, highest priority first

    • TI-2026-104279 Inefficient algorithm in domutils removeSubsets() enables denial of servicePriority HIGH 77
    • TI-2026-104281 Uncontrolled recursion in domutils getText() exhausts the call stackPriority HIGH 70
    • TI-2026-104278 Memory exhaustion in domutils getFeed() crashes Node.js processesPriority MEDIUM 53

Timeline

  1. 2026-12-04 Threatist record created from CVE-2026-145168

References

  • TI-2026-104279 Inefficient algorithm in domutils removeSubsets() enables denial of service CVSS 4.0HIGH 8.7
  • TI-2026-104281 Uncontrolled recursion in domutils getText() exhausts the call stack CVSS 4.0MEDIUM 6.9
  • TI-2026-104278 Memory exhaustion in domutils getFeed() crashes Node.js processes CVSS 4.0HIGH 8.7
  • TI-2026-104280 Uncontrolled recursion in domutils findOne() exhausts the call stack CVSS 4.0MEDIUM 6.9
  • TI-2026-104273 Denial of service in domutils compareDocumentPosition() CVSS 4.0MEDIUM 6.9

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences