原始 OSV JSON{
"id": "GHSA-3fjq-93xj-3f3f",
"aliases": [
"CVE-2019-16772"
],
"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.\n\n\n## Recommendation\n\nUpgrade to version 3.0.1 or later.",
"summary": "Cross-Site Scripting in serialize-to-js",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.0.1"
}
]
}
],
"package": {
"name": "serialize-to-js",
"ecosystem": "npm"
}
}
],
"modified": "2023-11-06T13:43:16Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L"
}
],
"published": "2019-12-06T23:20:26Z",
"references": [
{
"url": "https://github.com/commenthol/serialize-to-js/security/advisories/GHSA-3fjq-93xj-3f3f",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2019-16772",
"type": "ADVISORY"
},
{
"url": "https://github.com/commenthol/serialize-to-js/commit/181d7d583ae5293cd47cc99b14ad13352875f3e3",
"type": "WEB"
},
{
"url": "https://github.com/advisories/GHSA-3fjq-93xj-3f3f",
"type": "ADVISORY"
},
{
"url": "https://www.npmjs.com/advisories/1429",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "LOW",
"github_reviewed": true,
"nvd_published_at": null,
"github_reviewed_at": "2020-06-16T20:55:02Z"
}
}