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
- CWE-20: Improper Input Validation
Timeline
- 2013-06-28Published by the CNA14:00 UTC
- 2013-09-30First Exploit-DB entry (EDB-ID 28655)94 days after publication
- 2017-10-24GitHub advisory published (GHSA-xxvw-45rp-3mj2)1579 days after publication
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 28655 | local | multiple | 2013-09-30 | yes |
GitHub advisory GHSA-xxvw-45rp-3mj2, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| npm js-yaml | before 2.0.5 | 2.0.5 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| nodeca js-yaml | 0.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 |
References
- http://portal.nodesecurity.io/advisories/js-yaml
- https://nealpoole.com/blog/2013/06/code-execution-via-yaml-in-js-yaml-nodejs-module/
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2013-4660'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2013-4660'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2013-4660'curl 'https://api.contrastcyber.com/cve_products/CVE-2013-4660'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).