ghsa-cpgr-wmr9-qxv4
Vulnerability from github
Published
2020-09-11 21:20
Modified
2020-08-31 18:43
VLAI Severity ?
Summary
Cross-Site Scripting in serve
Details
Versions of serve prior to 10.0.2 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.
Recommendation
Upgrade to version 10.0.2 or later.
{
"affected": [
{
"package": {
"ecosystem": "npm",
"name": "serve"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "10.0.2"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"github_reviewed": true,
"github_reviewed_at": "2020-08-31T18:43:20Z",
"nvd_published_at": null,
"severity": "MODERATE"
},
"details": "Versions of `serve` prior to 10.0.2 are vulnerable to Cross-Site Scripting (XSS). The package fails to sanitize filenames, allowing attackers to execute arbitrary JavaScript in the victim\u0027s browser through files with names containing malicious code.\n\n\n## Recommendation\n\nUpgrade to version 10.0.2 or later.",
"id": "GHSA-cpgr-wmr9-qxv4",
"modified": "2020-08-31T18:43:20Z",
"published": "2020-09-11T21:20:14Z",
"references": [
{
"type": "WEB",
"url": "https://hackerone.com/reports/398285"
},
{
"type": "WEB",
"url": "https://www.npmjs.com/advisories/992"
}
],
"schema_version": "1.4.0",
"severity": [],
"summary": "Cross-Site Scripting in serve"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…