原始 OSV JSON{
"id": "GHSA-xw79-hhv6-578c",
"aliases": [],
"details": "Versions of `serve` prior to 10.0.2 are vulnerable to Cross-Site Scripting (XSS). The package does not encode output, allowing attackers to execute arbitrary JavaScript in the victim's browser if user-supplied input is rendered.\n\n\n## Recommendation\n\nUpgrade to version 10.0.2 or later.",
"summary": "Cross-Site Scripting in serve",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "10.0.2"
}
]
}
],
"package": {
"name": "serve",
"ecosystem": "npm"
}
}
],
"modified": "2021-09-28T16:54:33Z",
"severity": [],
"published": "2020-09-11T21:16:59Z",
"references": [
{
"url": "https://github.com/zeit/serve-handler/commit/65b4d4183a31a8076c78c40118acb0ca1b64f620",
"type": "WEB"
},
{
"url": "https://hackerone.com/reports/358641",
"type": "WEB"
},
{
"url": "https://hackerone.com/reports/398285",
"type": "WEB"
},
{
"url": "https://github.com/zeit/serve-handler",
"type": "PACKAGE"
},
{
"url": "https://www.npmjs.com/advisories/971",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": null,
"github_reviewed_at": "2020-08-31T18:42:30Z"
}
}