PT-2019-14825 · Npm+1 · Serialize-Javascript+1
Redonkulus
·
Published
2019-12-05
·
Updated
2020-03-13
·
CVE-2019-16769
CVSS v3.1
5.4
Medium
| Vector | AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
serialize-javascript versions prior to 2.1.1
Description
The issue concerns a failure to properly mitigate against unsafe characters in serialized regular expressions, leading to Cross-site Scripting (XSS). This problem does not affect Node.js applications due to Node.js's implementation of RegExp.prototype.toString(), which backslash-escapes all forward slashes in regular expressions. The vulnerability is relevant when serialized data of regular expression objects are used in environments other than Node.js.
Recommendations
For versions prior to 2.1.1, upgrade to version 2.1.1 or later.
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Suse
Serialize-Javascript