GitHub Advisoryadvisory · npm
GHSA-gvr4-7xgc-gx3w Cross-Site Scripting in fileview
HIGH
Official page ↗
- Aliases
- CVE-2019-15602
- Ecosystem
- npm
- Packages
- fileview
- Severity
- High
- Weaknesses
- CWE-79
- Reviewed
- 2020-04-01
Affected packages
• npm fileview: <= 0.1.6 (no fix yet)
Description
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.
Recommendation
No fix is currently available. Consider using an alternative package until a fix is made available.
Related
Alias · CVE (1)
- CVE-2019-15602 The fileview package v0.1.6 has inadequate output encoding and escaping, which leads to a stored Cross-Site Scripting (XSS) vulnerability… vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness