{"id":"CVE-2013-4660","published":"2013-06-28T14:00:00Z","modified":"2024-09-17T02:11:39Z","title":"The JS-YAML module before 2.0.5 for Node.js parses input without properly considering the unsafe !!js/function tag…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.17186,"percentile":0.97164,"provenance":"source"},"cwes":[],"references":[{"url":"https://nealpoole.com/blog/2013/06/code-execution-via-yaml-in-js-yaml-nodejs-module/","tags":["x_refsource_MISC"]},{"url":"http://portal.nodesecurity.io/advisories/js-yaml","tags":["x_refsource_CONFIRM"]}],"priority":{"score":24.4,"factors":[{"name":"EPSS percentile","points":19.43},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2013-09-30"},"metasploit":[{"name":"Nodejs js-yaml load() Code Execution","module":"exploit/multi/fileformat/nodejs_js_yaml_load_code_exec","type":"exploit","disclosureDate":"2013-06-28","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/fileformat/nodejs_js_yaml_load_code_exec.rb"}],"first":{"date":"2013-06-28","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/fileformat/nodejs_js_yaml_load_code_exec.rb"},"provenance":"source"},"affected":[{"ecosystem":"npm","package":"js-yaml","vulnerableRanges":["<2.0.5"],"patched":["2.0.5"],"from":["GHSA-xxvw-45rp-3mj2"],"provenance":"source"}],"summary":{"text":"The js-yaml module for Node.js, in versions before 2.0.5, has a flaw in how it parses YAML input: it does not properly account for the unsafe !!js/function tag.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:47:50Z"},"euvd":{"id":"EUVD-2017-0338","exploited":false,"provenance":"source"},"exploits":[{"id":28655,"url":"https://www.exploit-db.com/exploits/28655","title":"Nodejs - 'js-yaml load()' Code Exec (Metasploit)","date":"2013-09-30","verified":true,"provenance":"source"}]}