Home
Trends
Vulnerabilities
News
Researchers
Why dbugs?

Ajinabraham

#26366of 53,625
9.8Total CVSS
Vulnerabilities · 1
PT-2017-16784
9.8
2017-02-10
Npm · Serialize-To-Js · CVE-2017-5954
**Name of the Vulnerable Software and Affected Versions** serialize-to-js versions 0.5.0 **Description** An issue in the serialize-to-js package allows untrusted data passed into the `deserialize()` function to be exploited for arbitrary code execution by passing a JavaScript Object with an Immediately Invoked Function Expression (IIFE). This can be achieved by crafting a specific payload, such as a variable `payload` containing a malicious JavaScript Object. The exploitation involves using the `deserialize()` function from the `serialize-to-js` package, which can lead to code execution. **Recommendations** Update to version 1.0.0 or later, and review the disclaimer from the author regarding the `deserialize()` function to understand its safe usage.