{"id":"CVE-2017-5954","aliases":["GHSA-mm62-wxc8-cf7m"],"url":"https://o3.security/vulnerability/CVE-2017-5954","summary":"Code Execution Through IIFE in serialize-to-js","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).","published":"2017-02-10T07:59:00.310Z","modified":"2026-07-08T12:28:02.828071Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"npm","name":"serialize-to-js","fixedVersion":"1.0.0"}],"fix":null,"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/"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T12:28:02.828071Z"}}