js-yaml
NPM Package
Vulnerability Check
YAML 1.2 parser and serializer
js-yaml
Advisory Breakdown
Severity Rating
Critical10 advisories
Critical
Weekly downloads
292,265,394
Total advisories
10
Latest version
5.2.3
License
MIT
Known advisories
OSV records for the npm ecosystem
Denial of Service in js-yaml
js-yaml: YAML merge-key chains can force quadratic CPU consumption
JS-YAML: Quadratic CPU consumption in !!omap resolution (3.x and 4.x) — CVE-2026-59870 fix not backported
js-yaml: Quadratic-complexity (O(n^2)) DoS via !!omap tag in YAML11_SCHEMA
Code Injection in js-yaml
js-yaml: YAML merge-key chains can force quadratic CPU consumption in js-yaml
JS-YAML: Quadratic-complexity DoS in merge key handling via repeated aliases
js-yaml has prototype pollution in merge (<<)
js-yaml: Exponential parsing time in flow collections leads to denial of service
Deserialization Code Execution in js-yaml
Checked Aug 12, 2026, 4:37 PM from npm and OSV.dev
Package metadata
From the npm registry
- Package name
- js-yaml
- Ecosystem
- npm
- Latest version
- 5.2.3
- License
- MIT
- Weekly downloads
- 292,265,394
- Repository
- Open repository
Remediation boundary
What RequestGuard does — and doesn't — cover
RequestGuard does not fix npm package vulnerabilities. Dependency remediation happens through package updates, patches, lockfile changes, and maintainer guidance. RequestGuard can help mitigate runtime abuse around exposed web and API flows while remediation is handled separately.
Data from npm registry and OSV.dev · Checked 8/12/2026, 4:37:28 PM