CVE-2019-16769: Affected versions of serialize-javascript are vulnerable to Cross-site Scripting (XSS)
Vulnerability summary
CVE-2019-16769 is a medium (CVSS 5.4) vulnerability in verizon serialize-javascript. EPSS estimates a 0.80% chance of exploitation in the next 30 days, higher than 56.6% of scored vulnerabilities.
Not severe (CVSS 4.2, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 3 · Related 2Timeline
- 05-12-2019PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 3 sources · 2 versions- CVE.orgCNA4.2MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:LDiffers
- OSV · NpmEcosystem advisory · calculated4.2MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:LDiffers
EPSS trend
Probability
0.80%
Chance of exploitation in the next 30 days
Percentile
57%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.80% on 05-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Npm1 product
- serialize-javascript< 2.1.1
Verizon1 product
- serialize-javascript< 2.1.1
Yahoo1 product
- serialize-javascript≥ < 2.1.1, < 2.1.1
3 vendors · 3 products
References
4 links- github.com/yahoo/serialize-javascript/security/advisories/GHSA-h9rv-jmmf-4pgxX Refsource CONFIRMThird Party AdvisoryWEB