VYPR
Medium severity5.3OSV Advisory· Published Jul 8, 2026· Updated Jul 13, 2026

CVE-2026-59868

CVE-2026-59868

Description

js-yaml is a JavaScript YAML parser and dumper. From 5.0.0 before 5.2.0, when merge keys are enabled, js-yaml can spend quadratic CPU time parsing a document whose size grows only linearly when a chain of mappings uses merge keys where each mapping merges the previous one. This issue is fixed in version 5.2.0.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
js-yamlnpm
>= 5.0.0, < 5.2.05.2.0

Affected products

3
  • Nodeca/Js YAMLOSV3 versions
    5.1.0, 5.0.0+ 2 more
    • (no CPE)range: 5.1.0, 5.0.0
    • (no CPE)range: <5.2.0
    • cpe:2.3:a:nodeca:js-yaml:*:*:*:*:*:node.js:*:*range: >=5.0.0,<5.2.0

Patches

Vulnerability mechanics

References

5

News mentions

1