CVE-2026-145158
domutils 1. 5. 0 before 4. 1. 0 Denial of Service via compareDocumentPosition()
- Severity
- 6.9MediumNetwork attack, no privileges, no user interactionCVSS 4.0, CVE List
- Exploitation
- UnknownNo source reports exploitation yet.
- Exploit chance
- UnknownNo source reports an EPSS score yet.
- Listed fix
- None listedNo source lists a fixed version in its version data.Check the description and references.
Overview
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.
CVSS 4.0 vector
Exploitability
- Attack vector
- Network
- Complexity
- Low
- Attack requirements
- None
- Privileges needed
- None
- User interaction
- None
Impact on the vulnerable system
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
Impact on subsequent systems
- Confidentiality
- None
- Integrity
- None
- Availability
- None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NAffected
Products 1
Sources
CVE List Score usedCVSS 4.06.9
domutils 1.5.0 before 4.1.0 Denial of Service via compareDocumentPosition()
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.
- Record
CVE-2026-145158- CVSS 4.0
- 6.9 Medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N - CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-407
- Updated
- 2026-12-04
EUVDEUVD-2026-144269CVSS 4.06.9
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.
- Record
EUVD-2026-144269- CVSS 4.0
- 6.9 Medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N - Updated
- 2026-12-04
GitHub AdvisoriesGHSA-2882-6qf8-39v6CVSS 4.06.9
domutils 1.5.0 before 4.1.0 contains a denial of service vulnerability in compareDocumentPosition...
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.
- Record
GHSA-2882-6qf8-39v6- CVSS 4.0
- 6.9 Medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-407
- Updated
- 2026-12-04
NVDCVSS 4.06.9
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.
- Record
CVE-2026-145158- CVSS 4.0
- 6.9 Medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-407
- Updated
- 2026-12-04
OSVCVSS 4.06.9
domutils 1.5.0 before 4.1.0 Denial of Service via compareDocumentPosition()
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.
- Record
CVE-2026-145158- CVSS 4.0
- 6.9 Medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N - Weakness
- CWE-407
- Updated
- 2026-12-04
History
Recorded by Every CVE
| Day | Changed | Sources |
|---|---|---|
| Other IDs, references, severity | GitHub Advisories | |
| Other IDs, references | OSV | |
| Other IDs, published date | EUVD | |
| Severity | NVD | |
| First indexed | CVE List |
Upstream dates may differ.
References
github.com/fb55/domutils/security/advisories/GHSA-pvqx-4ghw-x6gp
github.com/fb55/domutils/commit/560a8d1886b8ac28872432b3bb368c19930a6c8f
github.com/fb55/domutils/releases/tag/v4.1.0
github.com/fb55/domutils/blob/v4.0.2/src/helpers.ts
vulncheck.com/advisories/domutils-1.5.0-before-4.1.0-denial-of-service-via-comparedocumentposition
nvd.nist.gov/vuln/detail/CVE-2026-145158
github.com/advisories/GHSA-2882-6qf8-39v6
github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145158.json
github.com/fb55/domutils