Live threats

All CVEs / Serialize-to-js Project

CVE-2017-5954Serialize-to-js Project Serialize-to-js

Critical 9.8 No auth needed

Priority
74
CVSS 3.0
9.8
EPSS
4.5%
probability of exploitation in 30 days · percentile 92
Auth required
No
Published
Feb 10, 2017
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-502
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Serialize-to-js.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm serialize-to-js < 1.0.0 1.0.0 npm install serialize-to-js@1.0.0

Per OSV / GitHub Advisories (GHSA-mm62-wxc8-cf7m). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
serialize-to-js_projectserialize-to-js0.5.0

Official sources

References

Links published by the sources. Open them with care.