CVE-2026-53550

Description

js-yaml is a JavaScript YAML parser and dumper. Prior to 4.2.0 and 3.15.0, a crafted YAML document can trigger algorithmic CPU exhaustion in js-yaml merge-key processing (<<) by repeating the same alias many times in a merge sequence. This causes quadratic parse-time behavior relative to input size and can block a Node.js worker/event loop for seconds with a relatively small payload (tens of KB), resulting in denial of service. The issue is in merge handling inside lib/loader.js. This vulnerability is fixed in 4.2.0 and 3.15.0.

Severity
MEDIUM
CVSS v3
5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L · source cna
Exploit chance (EPSS)
0.415%
chance of exploitation in the next 30 days
higher than 36.4% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA SSVC decision points

Exploitationnone
Automatableyes
Technical impactpartial
Scored2026-06-23

Timeline

  1. 2026-06-15GitHub advisory published (GHSA-h67p-54hq-rp68)7 days before publication
  2. 2026-06-22Published by the CNA14:59 UTC
  3. 2026-06-23CISA SSVC decision recorded1 day after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-h67p-54hq-rp68, affected packages:

PackageVulnerable versionsFixed in
npm js-yamlbefore 3.15.03.15.0
npm js-yamlfrom 4.0.0 before 4.2.04.2.0

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
nodeca js-yamlbefore 3.15.0fixed in 3.15.0from 4.0.0 before 4.2.0fixed in 4.2.03.15.04.2.0

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources