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-3f3f
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTNmanEtOTN4ai0zZjNm
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Low
Classification: General
Published: over 4 years ago
Updated: 6 months 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

Identifiers: GHSA-3fjq-93xj-3f3f, CVE-2019-16772
References: Repository: https://github.com/commenthol/serialize-to-js
Blast Radius: 14.8

Affected Packages

npm:serialize-to-js
Dependent packages: 64
Dependent repositories: 57,452
Downloads: 513,753 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