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.1Details
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
References
- https://github.com/commenthol/serialize-to-js/security/advisories/GHSA-3fjq-93xj-3f3f[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2019-16772[ADVISORY]
- https://github.com/commenthol/serialize-to-js/commit/181d7d583ae5293cd47cc99b14ad13352875f3e3[WEB]
- https://github.com/advisories/GHSA-3fjq-93xj-3f3f[ADVISORY]
- https://www.npmjs.com/advisories/1429[WEB]