{"id":"CVE-2017-5954","details":"An issue was discovered in the serialize-to-js package 0.5.0 for Node.js. Untrusted data passed into the deserialize() function can be exploited to achieve arbitrary code execution by passing a JavaScript Object with an Immediately Invoked Function Expression (IIFE).","aliases":["GHSA-mm62-wxc8-cf7m"],"modified":"2026-07-08T12:28:02.828071Z","published":"2017-02-10T07:59:00.310Z","references":[{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/96223"},{"type":"FIX","url":"https://github.com/commenthol/serialize-to-js/issues/1"},{"type":"EVIDENCE","url":"https://opsecx.com/index.php/2017/02/08/exploiting-node-js-deserialization-bug-for-remote-code-execution/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/commenthol/serialize-to-js","events":[{"introduced":"a1e8140ed1a07013f644b5b76025f4eaab7fb9d8"},{"last_affected":"a1e8140ed1a07013f644b5b76025f4eaab7fb9d8"}],"database_specific":{"cpe":"cpe:2.3:a:serialize-to-js_project:serialize-to-js:0.5.0:*:*:*:*:node.js:*:*","extracted_events":[{"introduced":"0.5.0"},{"last_affected":"0.5.0"}],"source":"CPE_STRING"}}],"versions":["0.5.0","v0.5.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-5954.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}