CVE-2013-4660

medium

Description

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.

References

https://github.com/advisories/GHSA-xxvw-45rp-3mj2

https://nealpoole.com/blog/2013/06/code-execution-via-yaml-in-js-yaml-nodejs-module/

https://euvd.enisa.europa.eu/vulnerability/EUVD-2017-0338

http://portal.nodesecurity.io/advisories/js-yaml

Details

Source: Mitre, NVD

Published: 2013-06-28

Updated: 2026-06-16

Risk Information

CVSS v2

Base Score: 6.8

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

Severity: Medium

CVSS v3

Base Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Severity: Medium

EPSS

EPSS: 0.17321