VDB
Sign up
LOW3.1

GHSA-3fjq-93xj-3f3f

Cross-Site Scripting in serialize-to-js

Quick fix

GHSA-3fjq-93xj-3f3f — serialize-to-js: upgrade to the fixed version with the command below.

npm install serialize-to-js@3.0.1

Details

Versions of `serialize-to-js` prior to 3.0.1 are vulnerable to Cross-Site Scripting (XSS). The package fails to sanitize serialized regular expressions. This vulnerability does not affect Node.js applications.

## Recommendation

Upgrade to version 3.0.1 or later.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/serialize-to-js
Introduced in: 0Fixed in: 3.0.1
Fixnpm install serialize-to-js@3.0.1

References