CVE-2019-16769
published medium CVSS 3.1 · 4.2Affected versions of serialize-javascript are vulnerable to Cross-site Scripting (XSS)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| yahoo | — | serialize-javascript< 2.1.1 to < 2.1.1 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.2 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| yahoo | serialize-javascript | < 2.1.1 to < 2.1.1 (affected · custom) | GitHub_M · cna |
Weaknesses
1- CWE-79 CWE-79 Cross-site Scripting (XSS)
References
1Provider assertions
2GitHub_M · cna
Affected versions of serialize-javascript are vulnerable to Cross-site Scripting (XSS)
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- eb315e1693b6075754ba950958134735a5146148b3a5116163d60e15b092feb4
- Ingested
- 23 Sep 2026, 07:46:16 UTC
- Source record
- Official CVE record