{"id":"GHSA-hv4w-jhcj-6wfw","aliases":[],"status":"published","title":"Cross-Site Scripting in snekserve","description":"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.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2020-09-03T20:34:23Z","modified":"2023-01-09T05:04:00Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"snekserve","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.0.0"}]}]},{"source":"osv","ecosystem":"npm","package":"snekserve","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0"}]}]}],"references":[{"url":"https://www.npmjs.com/advisories/1167","tags":["web"]},{"url":"https://github.com/advisories/GHSA-hv4w-jhcj-6wfw"}],"sources":{"ghsa":[{"id":"GHSA-hv4w-jhcj-6wfw","title":"Cross-Site Scripting in snekserve","description":"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.","status":"published","published":"2020-09-03T20:34:23Z","modified":"2023-01-09T05:04:00Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:07.581563Z"}],"osv":[{"id":"GHSA-hv4w-jhcj-6wfw","title":"Cross-Site Scripting in snekserve","description":"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.","status":"published","published":"2020-09-03T20:34:23Z","modified":"2020-08-31T18:49:43Z","cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:49.621585Z"}]}}
