Skip to content
OpenAdvisories
Critical · 9.8 CVE-2017-5954 EUVD-2018-0297GHSA-mm62-wxc8-cf7m

Code Execution Through IIFE in serialize-to-js

Published Feb 10, 2017 · Updated Aug 5, 2024 · Assigned by mitre

Description

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).

Affected packages

EcosystemPackageAffectedFixedRecord
npm serialize-to-js < 1.0.0 1.0.0 GHSA-mm62-wxc8-cf7m

References