Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTNmanEtOTN4ai0zZjNm
Cross-Site Scripting in serialize-to-js
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.
Recommendation
Upgrade to version 3.0.1 or later.
Permalink: https://github.com/advisories/GHSA-3fjq-93xj-3f3fJSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTNmanEtOTN4ai0zZjNm
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Low
Classification: General
Published: about 5 years ago
Updated: about 1 year ago
CVSS Score: 3.1
CVSS vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
EPSS Percentage: 0.00066
EPSS Percentile: 0.31546
Identifiers: GHSA-3fjq-93xj-3f3f, CVE-2019-16772
References:
- https://github.com/commenthol/serialize-to-js/security/advisories/GHSA-3fjq-93xj-3f3f
- https://nvd.nist.gov/vuln/detail/CVE-2019-16772
- https://github.com/advisories/GHSA-3fjq-93xj-3f3f
- https://www.npmjs.com/advisories/1429
- https://github.com/commenthol/serialize-to-js/commit/181d7d583ae5293cd47cc99b14ad13352875f3e3
Blast Radius: 14.8
Affected Packages
npm:serialize-to-js
Dependent packages: 64Dependent repositories: 57,452
Downloads: 1,022,196 last month
Affected Version Ranges: < 3.0.1
Fixed in: 3.0.1
All affected versions: 0.1.0, 0.1.1, 0.1.2, 0.2.0, 0.3.0, 0.3.1, 0.4.0, 0.5.0, 1.0.0, 1.1.0, 1.1.1, 1.1.2, 1.2.0, 1.2.1, 1.2.2, 2.0.0, 2.0.1, 3.0.0
All unaffected versions: 3.0.1, 3.0.2, 3.0.3, 3.1.0, 3.1.1, 3.1.2