Home / Nodeca / Js-yaml / CVE-2013-4660
CVE-2013-4660: is it exploited, and which versions of Nodeca Js-yaml are affected and fixed?
CVE-2013-4660 is an improper input validation vulnerability in Nodeca Js-yaml. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 09:08 UTC). Affected: js-yaml before 2.0.5 (GitHub advisory GHSA-xxvw-45rp-3mj2). Fixed in 2.0.5 (GitHub advisory GHSA-xxvw-45rp-3mj2). Severity: Medium (6.8, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:08 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:48 UTC.
What is CVE-2013-4660?
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.
From the CVE record by mitre, last updated September 17, 2024, 02:11 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | js-yaml | < 2.0.5 | 2.0.5 | GHSA-xxvw-45rp-3mj2 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 22, 2021. Summary: Deserialization Code Execution in js-yaml.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| nodeca | js-yaml | through 2.0.4 | application |
| nodeca | js-yaml | 0.2.0 | application |
| nodeca | js-yaml | 0.2.1 | application |
| nodeca | js-yaml | 0.2.2 | application |
| nodeca | js-yaml | 0.3.0 | application |
| nodeca | js-yaml | 0.3.1 | application |
| nodeca | js-yaml | 0.3.2 | application |
| nodeca | js-yaml | 0.3.3 | application |
| nodeca | js-yaml | 0.3.4 | application |
| nodeca | js-yaml | 0.3.5 | application |
| nodeca | js-yaml | 0.3.6 | application |
| nodeca | js-yaml | 0.3.7 | application |
| nodeca | js-yaml | 1.0.0 | application |
| nodeca | js-yaml | 1.0.1 | application |
| nodeca | js-yaml | 1.0.2 | application |
| nodeca | js-yaml | 1.0.3 | application |
| nodeca | js-yaml | 2.0.0 | application |
| nodeca | js-yaml | 2.0.1 | application |
| nodeca | js-yaml | 2.0.2 | application |
| nodeca | js-yaml | 2.0.3 | application |
NVD analysis (status Modified), last modified June 16, 2026, 23:57 UTC.
How severe is CVE-2013-4660?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.8 | CVSS 2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2013-4660 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 17.2% probability of exploitation activity in the next 30 days, percentile 97.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-20 Improper Input Validation
Where are the vendor advisories and references?
- https://nealpoole.com/blog/2013/06/code-execution-via-yaml-in-js-yaml-nodejs-module/ x_refsource_MISC
- http://portal.nodesecurity.io/advisories/js-yaml x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- June 24, 2013
- Published
- June 28, 2013, 14:00 UTC
- CVE record updated
- September 17, 2024, 02:11 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 23:57 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:48 UTC; KEV December 3, 2026, 09:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Js-yaml?
- Sep 1, 2026CVE-2026-84375 nodeca js-yaml: denial of service (uncontrolled resource consumption)
- Aug 13, 2026CVE-2026-73643 nodeca js-yaml: denial of service through slow algorithm
- Jul 8, 2026CVE-2026-59868 nodeca js-yaml: denial of service through slow algorithm
- Jul 8, 2026CVE-2026-59869 nodeca js-yaml: denial of service through slow algorithm
- Jul 8, 2026CVE-2026-59870 nodeca js-yaml: denial of service through slow algorithm
- Jun 22, 2026CVE-2026-53550 nodeca js-yaml: denial of service through slow algorithm
- Nov 13, 2025CVE-2025-64718 nodeca js-yaml: prototype pollution
Questions about CVE-2013-4660
Is CVE-2013-4660 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:08 UTC. FIRST's EPSS gives it a 17.2% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Nodeca Js-yaml are affected by CVE-2013-4660?
js-yaml before 2.0.5, per the GitHub advisory GHSA-xxvw-45rp-3mj2. The tables above give every range the sources list.
Which version fixes CVE-2013-4660?
2.0.5, per the GitHub advisory GHSA-xxvw-45rp-3mj2. Check the vendor's advisory before you rely on it.
How severe is CVE-2013-4660?
Medium (6.8, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2013-4660?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.