CVE-2018-3747
Cross-Site Scripting in public
6.1
MEDIUM
CVSS 3.1
EPSS 0.27%
Description
Versions of `public` prior to 0.1.4 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 Upgrade to version 0.1.4 or later.
How to fix CVE-2018-3747
To remediate CVE-2018-3747, upgrade the affected package to a fixed version below.
- —upgrade to 0.1.4 or later
Is CVE-2018-3747 being exploited?
Low — EPSS is 0.3%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 0.1.4
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |