{"id":"GHSA-gvr4-7xgc-gx3w","summary":"Cross-Site Scripting in fileview","details":"All versions of `fileview` 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.","aliases":["CVE-2019-15602"],"modified":"2023-11-08T04:01:14.768032Z","published":"2020-04-01T16:36:15Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2020-04-01T16:21:53Z","nvd_published_at":null,"cwe_ids":["CWE-79"],"severity":"HIGH"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-15602"},{"type":"WEB","url":"https://github.com/itworkcenter/fileview/issues/1"},{"type":"WEB","url":"https://github.com/itworkcenter/fileview/pull/2"},{"type":"WEB","url":"https://hackerone.com/reports/507159"},{"type":"WEB","url":"https://www.npmjs.com/advisories/1452"}],"affected":[{"package":{"name":"fileview","ecosystem":"npm","purl":"pkg:npm/fileview"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.1.6"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/04/GHSA-gvr4-7xgc-gx3w/GHSA-gvr4-7xgc-gx3w.json"}}],"schema_version":"1.9.0"}