{"id":"GHSA-j657-59rv-qwm6","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.\n\n\n## Recommendation\n\nNo fix is currently available, consider using an alternative package until a fix is made available.","aliases":["CVE-2019-5457"],"modified":"2023-11-08T04:01:36.531395Z","published":"2019-07-31T04:22:27Z","database_specific":{"cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2019-07-31T03:41:34Z","nvd_published_at":"2019-07-30T21:15:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-5457"},{"type":"WEB","url":"https://hackerone.com/reports/570568"},{"type":"WEB","url":"https://www.npmjs.com/advisories/1111"}],"affected":[{"package":{"name":"min-http-server","ecosystem":"npm","purl":"pkg:npm/min-http-server"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"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"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"}]}