CVE-2019-16772

Low

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.

SeverityLow
CVSS3.1
Exploit probability—
ProductSerialize-to-js
PublishedDec 7, 2019
First seenDec 7, 2019

How to fix

Update
  • serialize-to-js_project serialize-to-js3.0.1 or later
  • serialize-to-js3.0.1 or later

Affected products

ProductAffected versionsFixed in
serialize-to-js_project serialize-to-jsv < 3.0.13.0.1
serialize-to-jsnpmv < 3.0.13.0.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.