GitHub Advisoryadvisory · npm
GHSA-gm29-35c7-8cfw Cross-Site Scripting in buttle
HIGH
Official page ↗
- Aliases
- CVE-2019-5422
- Ecosystem
- npm
- Packages
- buttle
- Severity
- High
- Weaknesses
- CWE-79
- Reviewed
- 2020-06-16
Affected packages
• npm buttle: <= 0.2.0 (no fix yet)
Description
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.
Recommendation
No fix is currently available. Consider using an alternative package until a fix is made available.
Related
Alias · CVE (1)
- CVE-2019-5422 XSS in buttle npm package version 0.2.0 causes execution of attacker-provided code in the victim's browser when an attacker creates an… vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness