NSWG-ECO-311
Code Execution through IIFE
Severity by source
No source gives a CVSS score.
Trivy's own label is CRITICAL. Rated critical by Node.js Security WG.
Description
node-serialize is a module for serializing an object or function into JSON. node-serialize can be abused to execute arbitrary code via a [immediately invoked function expression](https://en.wikipedia.org/wiki/Immediately-invoked_function_expression) (IIFE) if untrusted user input is passed into `unserialize()`
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| npm::Node.js Ecosystem Security Working Group | node-serialize | <0.0.0 |