Skip to content

Cross-Site Scripting in fileview

High severity GitHub Reviewed Published Apr 1, 2020 to the GitHub Advisory Database • Updated Jan 9, 2023

Package

npm fileview (npm)

Affected versions

<= 0.1.6

Patched versions

None

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.

References

Reviewed Apr 1, 2020
Published to the GitHub Advisory Database Apr 1, 2020
Last updated Jan 9, 2023

Severity

High

EPSS score

0.087%
(38th percentile)

Weaknesses

CVE ID

CVE-2019-15602

GHSA ID

GHSA-gvr4-7xgc-gx3w

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.