Live threats

All CVEs / Nodeca

CVE-2026-53550Nodeca Js-yaml

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
—
Auth required
No
Published
Jun 22, 2026
Updated
Oct 25, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-407
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Js-yaml.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm js-yaml ≥ 4.0.0 < 4.2.0 4.2.0 npm install js-yaml@4.2.0
npm js-yaml < 3.15.0 3.15.0 npm install js-yaml@3.15.0

Per OSV / GitHub Advisories (GHSA-h67p-54hq-rp68). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
nodecajs-yaml< 3.15.0
nodecajs-yaml≥ 4.0.0 < 4.2.0

Official advisories

Also: SUSE (+6)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.