GHSA-7j93-2h6r-hm49

Suggest an improvement
Source
https://github.com/advisories/GHSA-7j93-2h6r-hm49
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/07/GHSA-7j93-2h6r-hm49/GHSA-7j93-2h6r-hm49.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-7j93-2h6r-hm49
Aliases
  • CVE-2019-5458
Published
2019-07-31T04:22:36Z
Modified
2023-11-08T04:01:36.591395Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Cross-Site Scripting in http-file-server
Details

All versions of http-file-server 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.

Database specific
{
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed_at": "2019-07-31T03:41:20Z",
    "nvd_published_at": "2019-07-30T21:15:00Z"
}
References

Affected packages

npm / http-file-server

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.2.6