# GHSA-4q2f-8g74-qm56: Cross-Site Scripting in takeapeek

- 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-03T17:18:05.000Z
- Modified: 2020-08-31T18:45:01.000Z
- Weaknesses: CWE-79

## Description

All versions of `takeapeek` 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

- takeapeek (npm): from 0.0.0

## References

- <https://hackerone.com/reports/490728> (web)
- <https://www.npmjs.com/advisories/1038> (web)

## Sources

- GitHub Advisory Database: [GHSA-4q2f-8g74-qm56](https://github.com/advisories/GHSA-4q2f-8g74-qm56), CC-BY-4.0, modified 2020-08-31

---

Page: https://cve.day/GHSA-4q2f-8g74-qm56 · Whole record: https://cve.day/GHSA-4q2f-8g74-qm56.json · Rebuilt by cve.day 2026-11-25T22:56:44.038Z
