Security mailing lists by PureSourceCode

CVE-2017-5941

CRITICAL 9.8CVSS 3.1

Code Execution through IIFE in node-serialize

An issue was discovered in the node-serialize package 0.0.4 for Node.js. Untrusted data passed into the unserialize() function can be exploited to achieve arbitrary code execution by passing a JavaScript Object with an Immediately Invoked Function Expression (IIFE).

Published
9 Feb 2017
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-502
Also known as
GHSA-q4v7-4rhw-9hqm
Sources
NVDJSONOSV GHSA-q4v7-4rhw-9hqmJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.8 CVSS:3.1/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 node-serialize_project node-serialize
cpe:2.3:a:node-serialize_project:node-serialize:*:*:*:*:*:node.js:*:*
<= 0.0.4
OSV npm node-serialize <= 0.0.4

References

History

  • 25 Nov 2026 20:19 UTC · NVD: first stored (published 9 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.