Inefficient Algorithmic Complexity in js-yaml (npm) - CVE-2026-53550
Published: July 3, 2026
js-yaml (npm)
Detailed vulnerability description
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to algorithmic complexity in merge-key processing in lib/loader.js when parsing crafted YAML documents with repeated aliases in a merge sequence. A remote attacker can submit a specially crafted YAML document to cause a denial of service.
The issue causes quadratic parse-time behavior relative to input size and can block a Node.js worker or event loop for seconds with a relatively small payload.