GHSA-3fjq-93xj-3f3f

Suggest an improvement
Source
https://github.com/advisories/GHSA-3fjq-93xj-3f3f
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/12/GHSA-3fjq-93xj-3f3f/GHSA-3fjq-93xj-3f3f.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-3fjq-93xj-3f3f
Aliases
Related
Published
2019-12-06T23:20:26Z
Modified
2023-11-08T04:01:21.090291Z
Severity
  • 3.1 (Low) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
Summary
Cross-Site Scripting in serialize-to-js
Details

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.

Database specific
{
    "github_reviewed_at": "2020-06-16T20:55:02Z",
    "cwe_ids": [
        "CWE-79"
    ],
    "nvd_published_at": null,
    "severity": "LOW",
    "github_reviewed": true
}
References

Affected packages

npm / serialize-to-js

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.0.1