{"id":"GHSA-hv4w-jhcj-6wfw","aliases":["GHSA-hv4w-jhcj-6wfw"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-Site Scripting in snekserve","summary":"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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"ghsa"}],"published":"2020-09-03T20:34:23.000Z","modified":"2020-08-31T18:49:43.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0.0.0","status":"affected"}],"ecosystem":"npm","package":"snekserve","purl":"pkg:npm/snekserve","source":"ghsa"}],"references":[{"url":"https://www.npmjs.com/advisories/1167","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hv4w-jhcj-6wfw","url":"https://github.com/advisories/GHSA-hv4w-jhcj-6wfw","licence":"CC-BY-4.0","modified":"2020-08-31T18:49:43.000Z"}],"updatedAt":"2026-11-25T22:56:45.657Z"}