GHSA-XW79-HHV6-578C
Vulnerability from github – Published: 2020-09-11 21:16 – Updated: 2021-09-28 16:54
VLAI?
Summary
Cross-Site Scripting in serve
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.
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:42:30Z",
"nvd_published_at": null,
"severity": "HIGH"
},
"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\u0027s browser if user-supplied input is rendered.\n\n\n## Recommendation\n\nUpgrade to version 10.0.2 or later.",
"id": "GHSA-xw79-hhv6-578c",
"modified": "2021-09-28T16:54:33Z",
"published": "2020-09-11T21:16:59Z",
"references": [
{
"type": "WEB",
"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": "PACKAGE",
"url": "https://github.com/zeit/serve-handler"
},
{
"type": "WEB",
"url": "https://www.npmjs.com/advisories/971"
}
],
"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 observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…