CVE-2019-15602 Cross-Site Scripting in fileview
An attacker can inject malicious scripts via stored XSS in the fileview npm package, potentially executing code in victim browsers.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2019-15602?
CVE-2019-15602 is a medium-severity cross-site scripting vulnerability in fileview, published on 6 Jan 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
The fileview package v0.1.6 has inadequate output encoding and escaping, which leads to a stored Cross-Site Scripting (XSS) vulnerability in files it serves.
Weakness: CWE-79
Which versions are affected by CVE-2019-15602?
2 open source packages ship an affected version, including fileview. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
fileview npm | All versions to 0.1.6 | None |
fileview npm | All versions to 0.1.6 | None |
Products include Itwork Fileview.
How do I fix CVE-2019-15602?
No fix has been published for CVE-2019-15602 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2019-15602 being exploited?
There is no known exploitation of CVE-2019-15602 in the wild and no public exploit code.
Sources
Also known as GHSA-gvr4-7xgc-gx3w.