Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLThwNXAtZmY3eC1odzdx
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.
Permalink: https://github.com/advisories/GHSA-8p5p-ff7x-hw7qJSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLThwNXAtZmY3eC1odzdx
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: about 6 years ago
Updated: almost 2 years ago
CVSS Score: 6.1
CVSS vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS Percentage: 0.00107
EPSS Percentile: 0.44513
Identifiers: GHSA-8p5p-ff7x-hw7q, CVE-2018-3747
References:
- https://nvd.nist.gov/vuln/detail/CVE-2018-3747
- https://hackerone.com/reports/329950
- https://github.com/advisories/GHSA-8p5p-ff7x-hw7q
- https://www.npmjs.com/advisories/1000
- https://hackerone.com/reports/316346
Affected Packages
npm:public
Dependent packages: 14Dependent repositories: 73
Downloads: 16,700 last month
Affected Version Ranges: < 0.1.4
Fixed in: 0.1.4
All affected versions: 0.1.0, 0.1.1, 0.1.2, 0.1.3
All unaffected versions: 0.1.4, 0.1.5