Security mailing lists by PureSourceCode

CVE-2013-4660

MEDIUM 6.8CVSS 2.0

Deserialization Code Execution in js-yaml

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.

Published
28 Jun 2013
Last modified
16 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-20
Also known as
GHSA-xxvw-45rp-3mj2
Sources
NVDJSONOSV GHSA-xxvw-45rp-3mj2JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD nodeca js-yaml
cpe:2.3:a:nodeca:js-yaml:*:*:*:*:*:*:*:*
<= 2.0.4
NVD nodeca js-yaml
cpe:2.3:a:nodeca:js-yaml:0.2.0:*:*:*:*:*:*:*
= 0.2.0
NVD nodeca js-yaml
cpe:2.3:a:nodeca:js-yaml:0.2.1:*:*:*:*:*:*:*
= 0.2.1
NVD nodeca js-yaml
cpe:2.3:a:nodeca:js-yaml:0.2.2:*:*:*:*:*:*:*
= 0.2.2
NVD nodeca js-yaml
cpe:2.3:a:nodeca:js-yaml:0.3.0:*:*:*:*:*:*:*
= 0.3.0
NVD nodeca js-yaml
cpe:2.3:a:nodeca:js-yaml:0.3.1:*:*:*:*:*:*:*
= 0.3.1
NVD nodeca js-yaml
cpe:2.3:a:nodeca:js-yaml:0.3.2:*:*:*:*:*:*:*
= 0.3.2
NVD nodeca js-yaml
cpe:2.3:a:nodeca:js-yaml:0.3.3:*:*:*:*:*:*:*
= 0.3.3
NVD nodeca js-yaml
cpe:2.3:a:nodeca:js-yaml:0.3.4:*:*:*:*:*:*:*
= 0.3.4
NVD nodeca js-yaml
cpe:2.3:a:nodeca:js-yaml:0.3.5:*:*:*:*:*:*:*
= 0.3.5
NVD nodeca js-yaml
cpe:2.3:a:nodeca:js-yaml:0.3.6:*:*:*:*:*:*:*
= 0.3.6
NVD nodeca js-yaml
cpe:2.3:a:nodeca:js-yaml:0.3.7:*:*:*:*:*:*:*
= 0.3.7
NVD nodeca js-yaml
cpe:2.3:a:nodeca:js-yaml:1.0.0:*:*:*:*:*:*:*
= 1.0.0
NVD nodeca js-yaml
cpe:2.3:a:nodeca:js-yaml:1.0.1:*:*:*:*:*:*:*
= 1.0.1
NVD nodeca js-yaml
cpe:2.3:a:nodeca:js-yaml:1.0.2:*:*:*:*:*:*:*
= 1.0.2
NVD nodeca js-yaml
cpe:2.3:a:nodeca:js-yaml:1.0.3:*:*:*:*:*:*:*
= 1.0.3
NVD nodeca js-yaml
cpe:2.3:a:nodeca:js-yaml:2.0.0:*:*:*:*:*:*:*
= 2.0.0
NVD nodeca js-yaml
cpe:2.3:a:nodeca:js-yaml:2.0.1:*:*:*:*:*:*:*
= 2.0.1
NVD nodeca js-yaml
cpe:2.3:a:nodeca:js-yaml:2.0.2:*:*:*:*:*:*:*
= 2.0.2
NVD nodeca js-yaml
cpe:2.3:a:nodeca:js-yaml:2.0.3:*:*:*:*:*:*:*
= 2.0.3
OSV npm js-yaml < 2.0.5 2.0.5

References

History

  • 25 Nov 2026 20:17 UTC · NVD: first stored (published 28 Jun 2013)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 24 Oct 2017)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.