Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. serialize-to-js
  4. ›
  5. CVE-2017-5954

CVE-2017-5954: Code Execution Through IIFE

February 10, 2017 (updated March 13, 2017)

Passing untrusted data to the .deserialize function can cause arbitrary code execution through an Immediately Invoked Function Expression (IIFE).

References

  • github.com/commenthol/serialize-to-js/commit/1cd433960e5b9db4c0b537afb28366198a319429
  • www.npmjs.com/package/serialize-to-js

Code Behaviors & Features

Detect and mitigate CVE-2017-5954 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.0.0

Fixed versions

  • 1.0.0

Solution

Upgrade to version 1.0.0 or above.

Impact 9.8 CRITICAL

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-502: Deserialization of Untrusted Data

Source file

npm/serialize-to-js/CVE-2017-5954.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:50 +0000.