Quick answers
- Is This vulnerability exploited in the wild?
- No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.
- How severe is This vulnerability?
- Medium severity, with a CVSS score of 5.3, published 29 September 2026.
- Which products and versions are affected?
- Nodeca Js-Yaml 5.0.0 to 5.4.0; js-yaml (npm) >= 5.0.0, <= 5.4.0.
- Is there a fix for This vulnerability?
- A patch was published on 2026-09-29: Version 5.4.1 released with fix Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is This vulnerability attacked?
- It is attacked over the network.
- Am I affected?
- Check whether you run Nodeca Js-Yaml or js-yaml (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
The vulnerability is an inefficient algorithmic complexity flaw in YAML merge key processing. When maxTotalMergeKeys limits are enabled, the parser does not count empty mappings in merge sources, allowing attackers to trigger O(N*K) iteration work where N is the number of empty objects and K is the number of merge operations. The flaw affects versions 5.0.0 through 5.4.0 when processing YAML with merge keys enabled; no authentication or user interaction is required—only network submission of a crafted YAML document.
Affected products
- nodeca js-yaml 5.0.0 to 5.4.0
Timeline
- 2026-08-26: disclosed: GitHub Advisory published
- 2026-09-29: patched: Version 5.4.1 released with fix