GHSA-xw79-hhv6-578c

Suggest an improvement
Source
https://github.com/advisories/GHSA-xw79-hhv6-578c
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-xw79-hhv6-578c/GHSA-xw79-hhv6-578c.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-xw79-hhv6-578c
Published
2020-09-11T21:16:59Z
Modified
2021-09-28T16:54:33Z
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.

Database specific
{
    "cwe_ids":  [
        "CWE-79"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2020-08-31T18:42:30Z",
    "nvd_published_at":  null,
    "severity":  "HIGH"
}
References

Affected packages

npm / serve

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
10.0.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-xw79-hhv6-578c/GHSA-xw79-hhv6-578c.json"