CVE-2013-4660

Description

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.

Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
17.186%
chance of exploitation in the next 30 days
higher than 97.1% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 1
Nuclei templates: 0
Exploit-DB: 1

Weakness

Timeline

  1. 2013-06-28Published by the CNA14:00 UTC
  2. 2013-09-30First Exploit-DB entry (EDB-ID 28655)94 days after publication
  3. 2017-10-24GitHub advisory published (GHSA-xxvw-45rp-3mj2)1579 days 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

Exploit-DBTypePlatformPublishedEDB-verified
EDB-ID 28655localmultiple2013-09-30yes

GitHub advisory GHSA-xxvw-45rp-3mj2, affected packages:

PackageVulnerable versionsFixed in
npm js-yamlbefore 2.0.52.0.5

Affected products

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

ProductVulnerable versionsFixed in
nodeca js-yaml0.2.0no fix listed0.2.1no fix listed0.2.2no fix listed0.3.0no fix listed0.3.1no fix listed(+15 more)not listednot listednot listednot listednot listed

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