MEDIUM4.2
GHSA-h9rv-jmmf-4pgx
Cross-Site Scripting in serialize-javascript
Quick fix
GHSA-h9rv-jmmf-4pgx — serialize-javascript: upgrade to the fixed version with the command below.
npm install serialize-javascript@2.1.1Details
Versions of `serialize-javascript` prior to 2.1.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 2.1.1 or later.
Are you affected?
Enter the version of the package you're using.