{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-145158","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","state":"PUBLISHED","assignerShortName":"VulnCheck","dateReserved":"2026-12-04T16:15:51.479Z","datePublished":"2026-12-04T16:31:07.299Z","dateUpdated":"2026-12-04T16:31:07.299Z"},"containers":{"cna":{"providerMetadata":{"orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","shortName":"VulnCheck","dateUpdated":"2026-12-04T16:31:07.299Z"},"datePublic":"2026-12-03T00:00:00.000Z","title":"domutils 1.5.0 before 4.1.0 Denial of Service via compareDocumentPosition()","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"lang":"en","description":"Inefficient Algorithmic Complexity","cweId":"CWE-407","type":"CWE"}]}],"affected":[{"vendor":"fb55","product":"domutils","defaultStatus":"unaffected","versions":[{"version":"1.5.0","lessThan":"4.1.0","versionType":"semver","status":"affected"}],"packageURL":"pkg:npm/domutils","repo":"https://github.com/fb55/domutils"}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"LOW","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6.9,"baseSeverity":"MEDIUM"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"LOW","baseScore":5.3,"baseSeverity":"MEDIUM"}}],"references":[{"url":"https://github.com/fb55/domutils/security/advisories/GHSA-pvqx-4ghw-x6gp","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-pvqx-4ghw-x6gp)"},{"url":"https://github.com/fb55/domutils/commit/560a8d1886b8ac28872432b3bb368c19930a6c8f","tags":["patch"]},{"url":"https://github.com/fb55/domutils/releases/tag/v4.1.0","tags":["release-notes"],"name":"domutils v4.1.0 Release Notes"},{"url":"https://github.com/fb55/domutils/blob/v4.0.2/src/helpers.ts#L79-L99","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/domutils-1.5.0-before-4.1.0-denial-of-service-via-comparedocumentposition","name":"VulnCheck Advisory: domutils 1.5.0 before 4.1.0 Denial of Service via compareDocumentPosition()","tags":["third-party-advisory"]}],"credits":[{"lang":"en","value":"Zachariah Mithani (AploSec)","type":"finder"},{"lang":"en","value":"ucsurf","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}}}}