{"id":"GHSA-4q2f-8g74-qm56","aliases":["GHSA-4q2f-8g74-qm56"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-Site Scripting in takeapeek","summary":"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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"ghsa"}],"published":"2020-09-03T17:18:05.000Z","modified":"2020-08-31T18:45:01.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":"takeapeek","purl":"pkg:npm/takeapeek","source":"ghsa"}],"references":[{"url":"https://hackerone.com/reports/490728","tags":["web"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/advisories/1038","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4q2f-8g74-qm56","url":"https://github.com/advisories/GHSA-4q2f-8g74-qm56","licence":"CC-BY-4.0","modified":"2020-08-31T18:45:01.000Z"}],"updatedAt":"2026-11-25T22:56:44.038Z"}