Advisories

domutils 1.5.0 before 4.1.0 Denial of Service via compareDocumentPosition()

Go back
Severity
medium
Date
Affecting
  • domutils >= 1.5.0, < 4.1.0

CWE
  • CWE-407 Inefficient Algorithmic Complexity
CVSS
6.9
CVSS V4 Vector
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
Credit
Zachariah Mithani (AploSec), ucsurf
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.

Ready to get Started?

Explore VulnCheck, a next-generation Cyber Threat Intelligence platform, which provides exploit and vulnerability intelligence to help you prioritize and remediate vulnerabilities that matter.
  • Vulnerability Prioritization
    Prioritize vulnerabilities that matter based on the threat landscape and defer vulnerabilities that don't.
  • Early Warning System
    Real-time alerting of changes in the vulnerability landscape so that you can take action before the attacks start.