# CVE-2013-4660

- Priority: **Prioritise**
- Reason: Weaponized exploit (exploit-database, 30-09-2013)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2013-06-28 · Modified: 2024-09-17
- Aliases: GHSA-xxvw-45rp-3mj2
- Record: https://cvemate.com/vulnerability/CVE-2013-4660 · JSON: https://cvemate.com/vulnerability/CVE-2013-4660/json

## Description

```text
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.
```

## Signals

- CVSS: 6.8 medium (v2.0, NVD) AV:N/AC:M/Au:N/C:P/I:P/A:P
- EPSS: 17.186%, percentile 97.176%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 3 (reference, exploit-database, metasploit)

## Affected

- nodeca js-yaml: ≤ 2.0.4 \| 0.2.0 \| 0.2.1 \| 0.2.2 \| 0.3.0 \| 0.3.1 \| 0.3.2 \| 0.3.3 \| 0.3.4 \| 0.3.5 \| 0.3.6 \| 0.3.7 \| 1.0.0 \| 1.0.1 \| 1.0.2 \| 1.0.3 \| 2.0.0 \| 2.0.1 \| 2.0.2 \| 2.0.3
- Npm js-yaml (Npm): \< 2.0.5

## References

- <https://nealpoole.com/blog/2013/06/code-execution-via-yaml-in-js-yaml-nodejs-module/>
- <http://portal.nodesecurity.io/advisories/js-yaml>
- <https://nvd.nist.gov/vuln/detail/CVE-2013-4660>
- <https://github.com/advisories/GHSA-xxvw-45rp-3mj2>
- <https://nealpoole.com/blog/2013/06/code-execution-via-yaml-in-js-yaml-nodejs-module>
- <https://www.npmjs.com/advisories/16>

---

Data as of 2026-12-05T08:26:25.192Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
