原始 OSV JSON{
"id": "GHSA-v633-x5vv-hqwc",
"aliases": [
"CVE-2015-8856"
],
"details": "Versions 1.6.2 and earlier of `serve-index` are affected by a cross-site scripting vulnerability. Because file and directory names are not escaped in the module's HTML output, a remote attacker that can influence file or directory names can launch a persistent cross-site scripting attack on the application.\n\n\n## Recommendation\n\nUpdate to version 1.6.3 or later.",
"summary": "Cross-Site Scripting in serve-index",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.6.3"
}
]
}
],
"package": {
"name": "serve-index",
"ecosystem": "npm"
}
}
],
"modified": "2021-09-20T15:12:25Z",
"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": "2017-10-24T18:33:36Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2015-8856",
"type": "ADVISORY"
},
{
"url": "https://github.com/expressjs/serve-index/issues/28",
"type": "WEB"
},
{
"url": "https://github.com/expressjs/serve-index/commit/7381a1d1458959e57ee53ac932b06ff17904777e",
"type": "WEB"
},
{
"url": "https://github.com/expressjs/serve-index",
"type": "PACKAGE"
},
{
"url": "https://web.archive.org/web/20200227190911/http://www.securityfocus.com/bid/96392",
"type": "WEB"
},
{
"url": "http://www.openwall.com/lists/oss-security/2016/04/20/11",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2017-01-23T21:59:00Z",
"github_reviewed_at": "2020-06-16T21:56:54Z"
}
}