js-yaml
npm5 known CVEs affecting this package
Aggregated from OSV, GitHub Security Advisories, NVD, and vendor advisories. Each CVE links to its full detail page with vendor advisories, patches, fixed versions, and remediation guidance.
CVEs affecting js-yamlpage 1 of 1
- CVE-2013-4660NONECVSS 0.0EG 0.0✓ Fixed in 2.0.52013-06-28
The JS-YAML module before 2.0.5 for Node.js parses input without properly considering the unsafe !!js/function tag, which allows remote attackers to execute arbitrary code via a crafted string that triggers an eval operation.
- CVE-2025-64718MEDIUMCVSS 5.3EG 5.3✓ Fixed in 3.14.22025-11-13
js-yaml is a JavaScript YAML parser and dumper. In js-yaml before 4.1.1 and 3.14.2, it's possible for an attacker to modify the prototype of the result of a parsed yaml document via prototype pollution (`__proto__`). All users who parse un…
- CVE-2026-53550MEDIUMCVSS 5.3EG 5.3✓ Fixed in 4.2.02026-06-15
js-yaml is a JavaScript YAML parser and dumper. Prior to 4.2.0 and 3.15.0, a crafted YAML document can trigger algorithmic CPU exhaustion in js-yaml merge-key processing (<<) by repeating the same alias many times in a merge sequence. This…
- CVE-2026-59869HIGHCVSS 7.5EG 7.5✓ Fixed in 3.15.02026-07-08
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 eac…
- CVE-2026-59870HIGHCVSS 7.5EG 7.5✓ Fixed in 5.2.12026-07-08
js-yaml is a JavaScript YAML parser and dumper. From 5.0.0 before 5.2.1, YAML11_SCHEMA support for the !!omap tag in src/tag/sequence/omap.ts uses omapTag.addItem() to perform a linear duplicate-key scan on every insertion, causing O(n^2) …
Check whether js-yaml is used in your infrastructure
EchelonGraph scans your cloud and SBOMs to map every package to your actual deployments. See blast radius for js-yaml CVEs against the assets you own.
Start Free Scan →