CVE Explore

XSS in Commenthol Serialize-To-Js

CVE-2019-16772

CVSS v3
3.1 Low
Public exploits
None known
EPSS
0.006 · 51.6th percentile
Published
2019-12-07

What to do

Fixed in
3.0.1
Affected
2 affected products

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.

Vulnerability class: XSS (Cross-Site Scripting)

Published · last modified .

CVSS v3 metric

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

Attack Vector
Network AV:N
Attack Complexity
High AC:H
Privileges Required
Low PR:L
User Interaction
None UI:N
Scope
Unchanged S:U
Confidentiality
None C:N
Integrity
None I:N
Availability
Low A:L

EPSS exploit prediction

EPSS 0.006, 51.6th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

Weakness classification (CWE)

References