{"id":"GHSA-hv4w-jhcj-6wfw","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.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative package until a fix is made available.","modified":"2020-08-31T18:49:43Z","published":"2020-09-03T20:34:23Z","database_specific":{"nvd_published_at":null,"cwe_ids":["CWE-79"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2020-08-31T18:49:43Z"},"references":[{"type":"WEB","url":"https://www.npmjs.com/advisories/1167"}],"affected":[{"package":{"name":"snekserve","ecosystem":"npm","purl":"pkg:npm/snekserve"},"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"}}],"schema_version":"1.9.0"}