Skip to content
CVE PROGRAM SOURCE RECORD6.9 Medium

CVE-2026-145158

domutils 1.5.0 before 4.1.0 Denial of Service via compareDocumentPosition()

Description

domutils 1.5.0 before 4.1.0 contains a denial of service vulnerability in compareDocumentPosition() that takes quadratic time when building ancestor chains with unshift(). Attackers can supply HTML or XML documents with deeply nested elements that applications compare or sort via uniqueSort() to block the Node.js event loop.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

fb55 domutils

Default version status: unaffected

  • 1.5.0 to < 4.1.0affected
pkg:npm/domutils

References