CVE-2026-59870
1 advisory.
npm/js-yaml CVE-2026-59870: medium 5.3
js-yaml: Quadratic-complexity (O(n^2)) DoS via !!omap tag in YAML11_SCHEMA
Action: Upgrade js-yaml to 5.2.1 or later.
npm i js-yaml@5.2.1Affected
| introduced | fixed | last affected |
|---|---|---|
| 5.0.0 | 5.2.1 | - |
Fixed versions
| 5.2.1 |
Sources
- osv: GHSA-724g-mxrg-4qvm
- https://github.com/nodeca/js-yaml/security/advisories/GHSA-724g-mxrg-4qvm
- https://nvd.nist.gov/vuln/detail/CVE-2026-59870
- https://github.com/nodeca/js-yaml/commit/39f3211a2f01b3c6982710cf21434ab7060acefe
- https://github.com/nodeca/js-yaml
- https://github.com/nodeca/js-yaml/releases/tag/5.2.1
CVE-2026-59870 · published · modified · JSON