GHSA-hv4w-jhcj-6wfw

Suggest an improvement
Source
https://github.com/advisories/GHSA-hv4w-jhcj-6wfw
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-hv4w-jhcj-6wfw/GHSA-hv4w-jhcj-6wfw.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-hv4w-jhcj-6wfw
Published
2020-09-03T20:34:23Z
Modified
2020-08-31T18:49:43Z
Summary
Cross-Site Scripting in snekserve
Details

All versions of snekserve 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

No fix is currently available. Consider using an alternative package until a fix is made available.

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

Affected packages

npm / snekserve

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-hv4w-jhcj-6wfw/GHSA-hv4w-jhcj-6wfw.json"