XSS in Verizon Serialize-Javascript

CVE-2019-16769

The serialize-javascript npm package before version 2.1.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.

Vulnerability class: XSS (Cross-Site Scripting)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 4.2 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L.

EPSS exploit prediction

EPSS 0.008, 57.1th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

Weakness classification (CWE)

Public exploits and proof-of-concept code

Also mentioned in 5 other repositories (amitgandole-tal/nodejs-cve, ossf-cve-benchmark/CVE-2019-16769, ray-tracer96024/Unintentionally-Vulnerable-Hotel-Management-Website, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References