Home › CVE › JavaScript
CVE-2026-145158 — fb55 domutils
One of 6 fb55 domutils vulnerabilities published together by NVD: our article covers all of them.
JavaScriptWebVulnerabilitiesSummary
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.
Severity breakdown
Medium · 6.9
An attacker without an account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- no
- User action needed
- no
- Impact
- low on availability, none on confidentiality and integrity
- Impact on other systems
- none
Weakness
- CWE-407: Inefficient Algorithmic Complexity
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| fb55 domutils | ≥ 1.5.0, < 4.1.0 | 4.1.0 |
References by type
Vendor advisories
Patches and fixed releases
- github.com/fb55/domutils/commit/560a8d1886b8ac28872432b3bb368c19930a6c8f
- github.com/fb55/domutils/releases/tag/v4.1.0
Other references
Affected
- fb55 domutils
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-145158?
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. Weakness type: Inefficient Algorithmic Complexity (CWE-407).
How severe is CVE-2026-145158?
CVE-2026-145158 has a CVSS 4.0 base score of 6.9 (medium), from the CNA (vulncheck.com). An attacker without an account can exploit this over the network, without any user action.
Is CVE-2026-145158 being exploited?
Not as far as is known: CVE-2026-145158 is not in CISA's Known Exploited Vulnerabilities catalog as of December 4, 2026.
Which versions are affected by CVE-2026-145158?
fb55 domutils ≥ 1.5.0, < 4.1.0 (fixed in 4.1.0).
How do I fix CVE-2026-145158?
Update to a fixed release: fb55 domutils 4.1.0.