Live threats

All CVEs / Nodeca

CVE-2013-4660Nodeca Js-yaml

Medium 6.8 No auth neededHigh EPSS

Priority
58
CVSS 2.0
6.8
EPSS
17.2%
probability of exploitation in 30 days · percentile 98
Auth required
No
Published
Jun 28, 2013
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
Vector
AV:N/AC:M/Au:N/C:P/I:P/A:P

What happens

The JS-YAML module before 2.0.5 for Node.js parses input without properly considering the unsafe !!js/function tag, which allows remote attackers to execute arbitrary code via a crafted string that triggers an eval operation.

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 < 2.0.5 2.0.5 npm install js-yaml@2.0.5

Per OSV / GitHub Advisories (GHSA-xxvw-45rp-3mj2). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
nodecajs-yaml≤ 2.0.4
nodecajs-yaml0.2.0
nodecajs-yaml0.2.1
nodecajs-yaml0.2.2
nodecajs-yaml0.3.0
nodecajs-yaml0.3.1
nodecajs-yaml0.3.2
nodecajs-yaml0.3.3
nodecajs-yaml0.3.4
nodecajs-yaml0.3.5
nodecajs-yaml0.3.6
nodecajs-yaml0.3.7
nodecajs-yaml1.0.0
nodecajs-yaml1.0.1
nodecajs-yaml1.0.2
nodecajs-yaml1.0.3
nodecajs-yaml2.0.0
nodecajs-yaml2.0.1
nodecajs-yaml2.0.2
nodecajs-yaml2.0.3

Official sources

References

Links published by the sources. Open them with care.