CVE-2026-59869
High
Description
js-yaml is a JavaScript YAML parser and dumper. From 3.0.0 before 3.15.0 and from 4.0.0 before 4.3.0, js-yaml can spend quadratic CPU time parsing a document whose size grows only linearly when a chain of mappings uses merge keys where each mapping merges the previous one. This issue is fixed in versions 3.15.0 and 4.3.0.
SeverityHigh
CVSS7.5
Exploit probability—
ProductNodeca Js-yaml
PublishedJul 8, 2026
First seenJul 8, 2026
Weakness typeCWE-407CWE-407
How to fix
Update
- nodeca js-yaml3.15.0, 4.3.0 or later
- js-yaml3.15.0, 4.3.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nodeca js-yaml | 3.0.0 ≤ v < 3.15.0, 4.0.0 ≤ v < 4.3.0 | 3.15.0, 4.3.0 |
| js-yamlnpm | 3.0.0 ≤ v < 3.15.0, 4.0.0 ≤ v < 4.3.0 | 3.15.0, 4.3.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.