Versions of serialize-to-js prior to 3.0.1 are vulnerable to Cross-Site Scripting (XSS). The package fails to sanitize serialized regular expressions. This vulnerability does not affect Node.js applications.
Upgrade to version 3.0.1 or later.
{
"cwe_ids": [
"CWE-79"
],
"github_reviewed_at": "2020-06-16T20:55:02Z",
"nvd_published_at": null,
"severity": "LOW",
"github_reviewed": true
}