{"id":"CVE-2017-5941","url":"https://www.cyber-defence.io/tools/cve/CVE-2017-5941","generatedAt":"2026-10-28T20:08:19.680Z","title":"Untrusted data passed into the unserialize() function can be exploited to achieve arbitrary code execution by passing a JavaScript Object with an Immediately Invoked Function Expression (IIFE).","description":"An issue was discovered in the node-serialize package 0.0.4 for Node.js. Untrusted data passed into the unserialize() function can be exploited to achieve arbitrary code execution by passing a JavaScript Object with an Immediately Invoked Function Expression (IIFE).","published":"2017-02-09T19:59:00.000Z","lastModified":"2026-06-17T01:21:29.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"cwe":["CWE-502"],"affected":["node-serialize project/node-serialize"],"epss":{"score":0.61025,"percentile":0.99151,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":3,"verified":false,"firstPublished":"2017-02-08","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":50036,"kind":"exploit","title":"Node.JS - 'node-serialize' Remote Code Execution (3)","url":"https://www.exploit-db.com/exploits/50036","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/nodejs/webapps/50036.js","file":"exploits/nodejs/webapps/50036.js","published":"2021-06-18","added":"2021-06-18","updated":"2021-06-18","author":"Beren Kuday GÖRÜN","type":"webapps","platform":"nodejs","port":null,"verified":false,"codes":["CVE-2017-5941"],"tags":null,"aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":null},{"edbId":49552,"kind":"exploit","title":"Node.JS - 'node-serialize' Remote Code Execution (2)","url":"https://www.exploit-db.com/exploits/49552","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/nodejs/webapps/49552.py","file":"exploits/nodejs/webapps/49552.py","published":"2021-02-10","added":"2021-02-10","updated":"2021-02-10","author":"UndeadLarva","type":"webapps","platform":"nodejs","port":null,"verified":false,"codes":["CVE-2017-5941"],"tags":null,"aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":null},{"edbId":45265,"kind":"exploit","title":"Node.JS - 'node-serialize' Remote Code Execution","url":"https://www.exploit-db.com/exploits/45265","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/remote/45265.js","file":"exploits/linux/remote/45265.js","published":"2017-02-08","added":"2018-08-27","updated":"2018-08-27","author":"OpSecX","type":"remote","platform":"linux","port":null,"verified":false,"codes":["CVE-2017-5941"],"tags":null,"aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":"https://opsecx.com/index.php/2017/02/08/exploiting-node-js-deserialization-bug-for-remote-code-execution/"}]},"verdict":{"level":"urgent","text":"EPSS puts the probability of exploitation in the next 30 days at 61.0%, higher than 99% of all known CVEs. Patch or mitigate before the next change window."},"changes":[],"references":[{"url":"http://packetstormsecurity.com/files/161356/Node.JS-Remote-Code-Execution.html","tags":["Exploit","Third Party Advisory","VDB Entry"],"source":"cve@mitre.org"},{"url":"http://packetstormsecurity.com/files/163222/Node.JS-Remote-Code-Execution.html","source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/bid/96225","tags":["Third Party Advisory","VDB Entry"],"source":"cve@mitre.org"},{"url":"https://nodesecurity.io/advisories/311","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://opsecx.com/index.php/2017/02/08/exploiting-node-js-deserialization-bug-for-remote-code-execution/","tags":["Exploit","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"http://packetstormsecurity.com/files/161356/Node.JS-Remote-Code-Execution.html","tags":["Exploit","Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://packetstormsecurity.com/files/163222/Node.JS-Remote-Code-Execution.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/96225","tags":["Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://nodesecurity.io/advisories/311","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://opsecx.com/index.php/2017/02/08/exploiting-node-js-deserialization-bug-for-remote-code-execution/","tags":["Exploit","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-5941","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}