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.
Metrics
CVSS 2.0 6.8/10
AV:N/AC:M/Au:N/C:P/I:P/A:PWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- http://portal.nodesecurity.io/advisories/js-yamlVendor Advisory
- https://nealpoole.com/blog/2013/06/code-execution-via-yaml-in-js-yaml-nodejs-module/Exploit, Vendor Advisory
- http://portal.nodesecurity.io/advisories/js-yamlVendor Advisory
- https://nealpoole.com/blog/2013/06/code-execution-via-yaml-in-js-yaml-nodejs-module/Exploit, Vendor Advisory
Timeline
- Published
- Jun 28, 2013
- Last modified
- Jun 16, 2026
- NVD status
- Modified