{"id":"GHSA-4q2f-8g74-qm56","aliases":[],"status":"published","title":"Cross-Site Scripting in takeapeek","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.\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-03T17:18:05Z","modified":"2023-01-09T05:03:49Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"takeapeek","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.0.0"}]}]},{"source":"osv","ecosystem":"npm","package":"takeapeek","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0"}]}]}],"references":[{"url":"https://hackerone.com/reports/490728","tags":["web"]},{"url":"https://www.npmjs.com/advisories/1038","tags":["web"]},{"url":"https://github.com/advisories/GHSA-4q2f-8g74-qm56"}],"sources":{"ghsa":[{"id":"GHSA-4q2f-8g74-qm56","title":"Cross-Site Scripting in takeapeek","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.\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-03T17:18:05Z","modified":"2023-01-09T05:03:49Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:06.884904Z"}],"osv":[{"id":"GHSA-4q2f-8g74-qm56","title":"Cross-Site Scripting in takeapeek","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.\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-03T17:18:05Z","modified":"2020-08-31T18:45:01Z","cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:37.148947Z"}]}}
