CVE-2019-16772
Summary
| CVE | CVE-2019-16772 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2019-12-07 00:15:00 UTC |
| Updated | 2019-12-09 17:10:00 UTC |
| Description | The serialize-to-js NPM package before version 3.0.1 is vulnerable to Cross-site Scripting (XSS). It does not properly mitigate against unsafe characters in serialized regular expressions. This vulnerability is not affected on Node.js environment since Node.js's implementation of RegExp.prototype.toString() backslash-escapes all forward slashes in regular expressions. If serialized data of regular expression objects are used in an environment other than Node.js, it is affected by this vulnerability. |
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|
| fix: for ghsa-3fjq-93xj-3f3f · commenthol/serialize-to-js@181d7d5 · GitHub |
MISC |
github.com |
Patch, Third Party Advisory |
| regular expressions Cross-Site Scripting (XSS) vulnerability · Advisory · commenthol/serialize-to-js · GitHub |
CONFIRM |
github.com |
Third Party Advisory |
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 983420 Nodejs (npm) Security Update for serialize-to-js (GHSA-3fjq-93xj-3f3f)