GHSA-3fjq-93xj-3f3f · Severity: low · Ecosystem: npm — Cross-Site Scripting in serialize-to-js
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.
Conclusion & alert: CVE-2019-16772 is rated Low Risk (30.9/100): CVSS Low severity, with medium exploitation likelihood (EPSS 0.30%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2025-11-21 | 0.21% | 0.30% | +0.09% |
| 2 | 2025-11-18 | 0.30% | 0.21% | -0.09% |
| 3 | 2025-04-15 | — | 0.30% | — |
Full EPSS history (9 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 3.1 | 3.1 | LOW |
|
1.6 | 1.4 | [email protected] |
| 6.1 | 3.1 | MEDIUM |
|
2.8 | 2.7 | [email protected] |
| 4.3 | 2.0 | MEDIUM |
|
8.6 | 2.9 | [email protected] |
GHSA-3fjq-93xj-3f3f · Severity: low · Ecosystem: npm — Cross-Site Scripting in serialize-to-js
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| serialize-to-js_project | serialize-to-js | < 3.0.1 | cpe:2.3:a:serialize-to-js_project:serialize-to-js:*:*:*:*:*:node.js:*:* |
| URL | Tags |
|---|---|
| https://github.com/commenthol/serialize-to-js/commit/181d7d583ae5293cd47cc99b14ad13352875f3e3 | Patch Third Party Advisory |
| https://github.com/commenthol/serialize-to-js/security/advisories/GHSA-3fjq-93xj-3f3f | Third Party Advisory |