{ "schema_version": "1.4.0", "id": "GHSA-j657-59rv-qwm6", "modified": "2022-12-03T04:03:29Z", "published": "2019-07-31T04:22:27Z", "aliases": [ "CVE-2019-5457" ], "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.", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N" } ], "affected": [ { "package": { "ecosystem": "npm", "name": "min-http-server" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0" }, { "last_affected": "1.0.6" } ] } ] } ], "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" } ], "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" } }