{"id":"GHSA-4q2f-8g74-qm56","summary":"Cross-Site Scripting in takeapeek","details":"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.","modified":"2020-08-31T18:45:01Z","published":"2020-09-03T17:18:05Z","database_specific":{"github_reviewed_at":"2020-08-31T18:45:01Z","nvd_published_at":null,"cwe_ids":["CWE-79"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"WEB","url":"https://hackerone.com/reports/490728"},{"type":"WEB","url":"https://www.npmjs.com/advisories/1038"}],"affected":[{"package":{"name":"takeapeek","ecosystem":"npm","purl":"pkg:npm/takeapeek"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-4q2f-8g74-qm56/GHSA-4q2f-8g74-qm56.json"}}],"schema_version":"1.9.0"}