{"id":"GHSA-gm29-35c7-8cfw","summary":"Cross-Site Scripting in buttle","details":"All versions of `buttle` 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-5422"],"modified":"2023-11-08T04:01:35.923002Z","published":"2019-04-08T15:18:38Z","database_specific":{"cwe_ids":["CWE-79"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2020-06-16T21:37:39Z","nvd_published_at":null},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-5422"},{"type":"WEB","url":"https://hackerone.com/reports/331032"},{"type":"WEB","url":"https://hackerone.com/reports/331110"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-gm29-35c7-8cfw"},{"type":"WEB","url":"https://www.npmjs.com/advisories/1009"},{"type":"WEB","url":"https://www.npmjs.com/advisories/667"}],"affected":[{"package":{"name":"buttle","ecosystem":"npm","purl":"pkg:npm/buttle"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.2.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/04/GHSA-gm29-35c7-8cfw/GHSA-gm29-35c7-8cfw.json"}}],"schema_version":"1.9.0"}