logo

CVE-2018-3747 public

Package

Manager: npm
Name: public
Vulnerable Version: >=0 <0.1.4

Severity

Level: Medium

CVSS v3.1: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

EPSS: 0.00268 pctl0.50002

Details

Cross-Site Scripting in public 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.

Metadata

Created: 2018-10-10T17:27:58Z
Modified: 2021-09-07T20:23:14Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/10/GHSA-8p5p-ff7x-hw7q/GHSA-8p5p-ff7x-hw7q.json
CWE IDs: ["CWE-79"]
Alternative ID: GHSA-8p5p-ff7x-hw7q
Finding: F008
Auto approve: 1