原始 OSV JSON{
"id": "GHSA-vpch-rxw3-fgx8",
"aliases": [
"CVE-2018-1000160"
],
"details": "All versions of `@risingstack/protect` are vulnerable to Cross-Site Scripting. The `isXss()` XSS validator has several bypasses that may allow attackers to execute arbitrary JavaScript in a victim's browser.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative package. The package is not actively maintained and will not be patched.",
"summary": "Cross-Site Scripting in @risingstack/protect",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"last_affected": "1.2.0"
}
]
}
],
"package": {
"name": "@risingstack/protect",
"ecosystem": "npm"
}
}
],
"modified": "2021-09-20T22:10:09Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}
],
"published": "2018-04-25T14:30:43Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1000160",
"type": "ADVISORY"
},
{
"url": "https://github.com/RisingStack/protect/issues/16",
"type": "WEB"
},
{
"url": "https://github.com/RisingStack/protect",
"type": "PACKAGE"
},
{
"url": "https://github.com/RisingStack/protect/blob/60b0c91e86686d34e5202419ce9ae7e8dc08edcd/lib/rules/xss.js#L4-L13",
"type": "WEB"
},
{
"url": "https://github.com/advisories/GHSA-vpch-rxw3-fgx8",
"type": "ADVISORY"
},
{
"url": "https://snyk.io/vuln/SNYK-JS-RISINGSTACKPROTECT-455402",
"type": "WEB"
},
{
"url": "https://www.npmjs.com/advisories/1116",
"type": "WEB"
},
{
"url": "http://embed.plnkr.co/xHbhB29JWWyMUMeHsLrm",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": null,
"github_reviewed_at": "2020-06-16T21:58:00Z"
}
}