原始 OSV JSON{
"id": "GHSA-7cv6-gvx3-m54m",
"aliases": [
"CVE-2017-15881"
],
"details": "Versions of `keystone` prior to 4.0.0 are vulnerable to Cross-Site Scripting (XSS). The package fails to properly encode rendered HTML on admin-created blog posts. This allows attackers to execute arbitrary JavaScript in the victim's browser. Exploiting this vulnerability requires having access to an admin account.\n\n\n## Recommendation\n\nUpdate to version 4.0.0 or later.",
"summary": "Cross-Site Scripting in keystone",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.0.0-beta7"
}
]
}
],
"package": {
"name": "keystone",
"ecosystem": "npm"
},
"database_specific": {
"last_known_affected_version_range": "<= 4.0.0-beta6"
}
}
],
"modified": "2021-06-11T13:54:39Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N"
}
],
"published": "2017-11-16T01:47:02Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2017-15881",
"type": "ADVISORY"
},
{
"url": "https://github.com/keystonejs/keystone/issues/4437",
"type": "WEB"
},
{
"url": "https://github.com/keystonejs/keystone/pull/4478",
"type": "WEB"
},
{
"url": "https://github.com/advisories/GHSA-7cv6-gvx3-m54m",
"type": "ADVISORY"
},
{
"url": "https://securelayer7.net/download/pdf/KeystoneJS-Pentest-Report-SecureLayer7.pdf",
"type": "WEB"
},
{
"url": "https://www.npmjs.com/advisories/981",
"type": "WEB"
},
{
"url": "http://blog.securelayer7.net/keystonejs-open-source-penetration-testing-report",
"type": "WEB"
},
{
"url": "http://www.securityfocus.com/bid/101541",
"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:22:30Z"
}
}