ADVISORIES

GitHub Advisory Database

GHSA-8p5p-ff7x-hw7q

Cross-Site Scripting in public

Moderate CVE-2018-3747

Details

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.

Affected packages

EcosystemPackageAffected versions
npmpublic
All versions before 0.1.4 (fixed in 0.1.4)

References