New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

Patch on npm serialize-javascript 1.6.0 fixing 1 CVE

Verification

Checks and measurements Socket ran on this patch, comparing the package before and after the patch is applied.

Exploits

Before patch

1/1 reproduced

After patch

1/1 blocked

Tests

Before patch

35/35 passed

After patch

35/35 passed

Patch size

Lines changed

+13−2in 1 file

Vulnerabilities Fixed

Severity
Advisory
Summary
High
GHSA-5c6j-r48x-rmvq

Serialize JavaScript is Vulnerable to RCE via RegExp.flags and Date.prototype.toISOString()

Instructions

Apply this patch with the Socket patch CLI.

  • Install the CLI: curl -fsSL https://install.socket.dev/patch | sh
  • Run socket-patch get GHSA-5c6j-r48x-rmvq in your repository to download and apply the patch