Install
js-yaml
YAML 1.2 parser and serializer
5.5.0Latest, 15 Oct 2026
1.7BDownloads, last month
0Advisories on the latest
12Advisories, all versions
MITLicence
6.6KStars
6.0/10OpenSSF Scorecard
Source · Homepage · Ask AI Mode · · Markdown
Known advisories
| Severity | Advisory | Fix | Published |
|---|---|---|---|
| Moderate | js-yaml: maxTotalMergeKeys does not limit CPU use for empty merge sources GHSA-r3ph-w7gj-g6xm | Fixed in 5.4.1 | 29 Sep 2026 |
| High | js-yaml: maxTotalMergeKeys does not limit CPU use for empty merge sources CVE-2026-84375 | Fixed in 4.3.2, 3.15.2 | 8 Sep 2026 |
| High | JS-YAML: Quadratic CPU consumption in !!omap resolution (3.x and 4.x) — CVE-2026-59870 fix not backported GHSA-5p4m-2wfm-xmqj | Fixed in 4.3.1, 3.15.1 | 6 Aug 2026 |
| High | js-yaml: Exponential parsing time in flow collections leads to denial of service CVE-2026-73643 | Fixed in 5.2.2 | 24 Jul 2026 |
| High | js-yaml: YAML merge-key chains can force quadratic CPU consumption CVE-2026-59869 | Fixed in 3.15.0, 4.3.0 | 20 Jul 2026 |
| Moderate | js-yaml: Quadratic-complexity (O(n^2)) DoS via !!omap tag in YAML11_SCHEMA CVE-2026-59870 | Fixed in 5.2.1 | 20 Jul 2026 |
| Moderate | js-yaml: YAML merge-key chains can force quadratic CPU consumption in js-yaml CVE-2026-59868 | Fixed in 5.2.0 | 20 Jul 2026 |
| Moderate | JS-YAML: Quadratic-complexity DoS in merge key handling via repeated aliases CVE-2026-53550 | Fixed in 4.2.0, 3.15.0 | 15 Jun 2026 |
| Moderate | js-yaml has prototype pollution in merge (<<) CVE-2025-64718 | Fixed in 4.1.1, 3.14.2 | 14 Nov 2025 |
| Moderate | Denial of Service in js-yaml GHSA-2pr6-76vf-7546 | Fixed in 3.13.0 | 5 Jun 2019 |
| High | Code Injection in js-yaml GHSA-8j8c-7jfh-h6hx | Fixed in 3.13.1 | 4 Jun 2019 |
| Critical | Deserialization Code Execution in js-yaml CVE-2013-4660 | Fixed in 2.0.5 | 24 Oct 2017 |
Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.