js-yaml

YAML 1.2 parser and serializer

npm latest 5.4.1 MIT

Evidence path

Version, exploitation, severity

RequestGuard keeps these facts separate. A KEV match refers to a CVE, while OSV supplies the package and version match.

1

Latest version

5.4.1

No matching published advisory returned

2

Known exploitation

No KEV match

Checked by exact CVE identifier

3

Highest advisory severity

Critical

11 active advisories

Check an exact version

The registry confirms the version, then OSV checks advisories for that exact value.

Published records

Advisories

11

JS-YAML: Quadratic CPU consumption in !!omap resolution (3.x and 4.x) — CVE-2026-59870 fix not backported

Affected range

SEMVER: introduced 4.0.0; fixed 4.3.1SEMVER: introduced 3.0.0; fixed 3.15.1

Fixed versions: 4.3.1, 3.15.1

js-yaml: maxTotalMergeKeys does not limit CPU use for empty merge sources

Affected range

SEMVER: introduced 4.0.0; fixed 4.3.2SEMVER: introduced 3.0.0; fixed 3.15.2

Fixed versions: 4.3.2, 3.15.2

JS-YAML: Quadratic-complexity DoS in merge key handling via repeated aliases

Affected range

SEMVER: introduced 4.0.0; fixed 4.2.0SEMVER: introduced 0; fixed 3.15.0

Fixed versions: 4.2.0, 3.15.0