Security mailing lists by PureSourceCode

CVE-2017-5954

CRITICAL 9.8CVSS 3.0

Code Execution Through IIFE in serialize-to-js

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

Published
10 Feb 2017
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-502
Also known as
GHSA-mm62-wxc8-cf7m
Sources
NVDJSONOSV GHSA-mm62-wxc8-cf7mJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.0 CRITICAL 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.0 CRITICAL 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD serialize-to-js_project serialize-to-js
cpe:2.3:a:serialize-to-js_project:serialize-to-js:0.5.0:*:*:*:*:node.js:*:*
= 0.5.0
OSV npm serialize-to-js < 1.0.0 1.0.0

References

History

  • 25 Nov 2026 20:19 UTC · NVD: first stored (published 10 Feb 2017)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 18 Jul 2018)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.