CVE-2013-4660Nodeca Js-yaml
Medium 6.8 No auth neededHigh EPSS
Follow: this CVE · Nodeca · Nodeca Js-yaml We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Js-yaml.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| nodeca | js-yaml | ≤ 2.0.4 |
| nodeca | js-yaml | 0.2.0 |
| nodeca | js-yaml | 0.2.1 |
| nodeca | js-yaml | 0.2.2 |
| nodeca | js-yaml | 0.3.0 |
| nodeca | js-yaml | 0.3.1 |
| nodeca | js-yaml | 0.3.2 |
| nodeca | js-yaml | 0.3.3 |
| nodeca | js-yaml | 0.3.4 |
| nodeca | js-yaml | 0.3.5 |
| nodeca | js-yaml | 0.3.6 |
| nodeca | js-yaml | 0.3.7 |
| nodeca | js-yaml | 1.0.0 |
| nodeca | js-yaml | 1.0.1 |
| nodeca | js-yaml | 1.0.2 |
| nodeca | js-yaml | 1.0.3 |
| nodeca | js-yaml | 2.0.0 |
| nodeca | js-yaml | 2.0.1 |
| nodeca | js-yaml | 2.0.2 |
| nodeca | js-yaml | 2.0.3 |
Official sources
References
Links published by the sources. Open them with care.
- portal.nodesecurity.io Vendor Advisory
- nealpoole.com Exploit Vendor Advisory