patchminder
Weaponized · Metasploit CVE-2013-4660

Remote code executionin the js-yaml package.

Published 28 Jun 2013 · Updated 17 Sep 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Weaponized: a Metasploit exploit is public.

Attack code is public
Severity
Not scored
No source has scored it yet
Attack likelihood
High
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 17.2% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 2.0.5 or later
In plain words

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 now
  • Upgrade js-yaml (npm) to 2.0.5 or later.

Not confirmed by any source yet: severity not scored yet. We show these as not confirmed instead of guessing.

Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
n/a
Not confirmed
Not confirmed
CVE record
js-yaml (npm)
before 2.0.5
2.0.5
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 24 Jun 2013
    CVE ID reserved by mitre.
  2. 28 Jun 2013
    Published in the CVE List.
  3. 28 Jun 2013
    Metasploit module: Nodejs js-yaml load() Code Execution.
  4. 17 Sep 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Weaponized (Metasploit).

Metasploit module
1 module
Nuclei scan template
None known
Exploit-DB
1 entry
GitHub proof of concepts
None known
MetasploitNodejs js-yaml load() Code Executionrank excellent
Exploit-DBEDB-ID 28655local exploit for multiple, published 30 Sep 2013, verified by Exploit-DB

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other vulnerabilities in this package

References
Cite this page

Patchminder. CVE-2013-4660: Remote code execution in the js-yaml package. https://patchminder.com/cve/cve-2013-4660/ (accessed 5 December 2026).