yaml vulnerabilities

JavaScript parser and stringifier for YAML

Registry
npm
Latest
2.9.1
License
ISC

2 known advisories

The latest version, 2.9.1, is not affected by any of them. Projects on older versions may be.

Update to the latest version:npm install yaml@2.9.1

Security advisories for yaml

  • MediumGHSA-48c2-rrv3-qjmp25 Mar 2026

    yaml is vulnerable to Stack Overflow via deeply nested YAML collections

    Affected
    >=2.0.0 <2.8.3 · >=1.0.0 <1.10.3
    Fixed in
    1.10.3, 2.8.3
  • HighGHSA-f9xv-q969-pqx424 Apr 2023

    Uncaught Exception in yaml

    Affected
    >=2.0.0-5 <2.2.2
    Fixed in
    2.2.2

Which of your client projects still run an old yaml?

NPMscan reads the package-lock.json, yarn.lock and pnpm-lock.yaml in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other npm packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the npm registry.