An issue was discovered in the serialize-to-js package 0.5.0 for Node.js.
Priority MEDIUM 49CWE-502Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and GitHub. Impact type from CWE-502.
Summary
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).
Why it matters now
EPSS 0.04464 91st percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed serialize-to-js (npm): 1.0.0
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | serialize-to-js (npm) | before 1.0.0 | 1.0.0 | Patch available | GHSA-mm62-wxc8-cf7m |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- serialize-to-js (npm) Vendor— Affected before 1.0.0 Fixed in 1.0.0 Patch available GHSA-mm62-wxc8-cf7m
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:serialize-to-js_project:serialize-to-js:0.5.0:*:*:*:*:node.js:*:* | 0.5.0 | Vulnerable | Serialize-to-js Project |
- cpe:2.3:a:serialize-to-js_project:serialize-to-js:0.5.0:*:*:*:*:node.js:*:* Versions 0.5.0 Vulnerable ·Serialize-to-js Project
Remediation
- Fix · GHSA-mm62-wxc8-cf7m serialize-to-js (npm) Fixed in 1.0.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2017-5954
- 2026-10-03 Alias added: GHSA-mm62-wxc8-cf7m
References
Advisory 2
Other 5
- https://github.com/commenthol/serialize-to-js/commit/1cd433960e5b9db4c0b537afb28366198a319429
- https://github.com/commenthol/serialize-to-js
- https://opsecx.com/index.php/2017/02/08/exploiting-node-js-deserialization-bug-for-remote-code-execution
- https://www.npmjs.com/advisories/313
- https://www.npmjs.com/package/serialize-to-js#deserialize
More Serialize-to-js Project Serialize-to-js vulnerabilities
- TI-2017-11618 The deserialize function in serialize-to-js through 1.1.1 allows attackers to cause a… CVSS 3.1HIGH 7.5
- TI-2019-12553 regular expressions Cross-Site Scripting (XSS) vulnerability in serialize-to-js CVSS 3.1MEDIUM 6.1
Sources
- CVE-2017-5954 · CVE Program
- CVE-2017-5954 · NVD
- FIRST EPSS
- GHSA-mm62-wxc8-cf7m · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences