# GHSA-hv4w-jhcj-6wfw: Cross-Site Scripting in snekserve

- Severity: High (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-09-03T20:34:23.000Z
- Modified: 2020-08-31T18:49:43.000Z
- Weaknesses: CWE-79

## 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.


## Recommendation

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

(As written by GitHub Advisory Database.)

## Affected

- snekserve (npm): from 0.0.0

## References

- <https://www.npmjs.com/advisories/1167> (web)

## Sources

- GitHub Advisory Database: [GHSA-hv4w-jhcj-6wfw](https://github.com/advisories/GHSA-hv4w-jhcj-6wfw), CC-BY-4.0, modified 2020-08-31

---

Page: https://cve.day/GHSA-hv4w-jhcj-6wfw · Whole record: https://cve.day/GHSA-hv4w-jhcj-6wfw.json · Rebuilt by cve.day 2026-11-25T22:56:45.657Z
