GHSA-j657-59rv-qwm6

Suggest an improvement
Source
https://github.com/advisories/GHSA-j657-59rv-qwm6
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/07/GHSA-j657-59rv-qwm6/GHSA-j657-59rv-qwm6.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-j657-59rv-qwm6
Aliases
  • CVE-2019-5457
Published
2019-07-31T04:22:27Z
Modified
2023-11-08T04:01:36.531395Z
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 min-http-server
Details

All versions of min-http-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
{
    "cwe_ids": [
        "CWE-79"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2019-07-31T03:41:34Z",
    "nvd_published_at": "2019-07-30T21:15:00Z",
    "severity": "MODERATE"
}
References

Affected packages

npm / min-http-server

Package

Affected ranges

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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/07/GHSA-j657-59rv-qwm6/GHSA-j657-59rv-qwm6.json"