Inefficient Algorithmic Complexity in js-yaml (npm) - #VU140667
Published: August 1, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to inefficient algorithmic complexity in resolveYamlOmap() when parsing untrusted YAML containing !!omap sequences. A remote attacker can send a specially crafted YAML document to cause a denial of service.
The issue is reachable through yaml.load() with the default schema, and the synchronous processing blocks the Node.js event loop for the duration of parsing.