原始 OSV JSON{
"id": "GHSA-gm29-35c7-8cfw",
"aliases": [
"CVE-2019-5422"
],
"details": "All versions of `buttle` are vulnerable to Cross-Site Scripting (XSS). The package fails to sanitize filenames, allowing attackers to execute arbitrary JavaScript in the victim's browser through files with names containing malicious code.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative package until a fix is made available.",
"summary": "Cross-Site Scripting in buttle",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"last_affected": "0.2.0"
}
]
}
],
"package": {
"name": "buttle",
"ecosystem": "npm"
}
}
],
"modified": "2020-08-31T18:43:56Z",
"severity": [],
"published": "2019-04-08T15:18:38Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2019-5422",
"type": "ADVISORY"
},
{
"url": "https://hackerone.com/reports/331032",
"type": "WEB"
},
{
"url": "https://hackerone.com/reports/331110",
"type": "WEB"
},
{
"url": "https://github.com/advisories/GHSA-gm29-35c7-8cfw",
"type": "ADVISORY"
},
{
"url": "https://www.npmjs.com/advisories/1009",
"type": "WEB"
},
{
"url": "https://www.npmjs.com/advisories/667",
"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-06-16T21:37:39Z"
}
}