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.
No fix is currently available. Consider using an alternative package until a fix is made available.
| Score | Percentile |
|---|---|
| 0.27% | 49.73% |
No CVSS scores in this advisory.
| Type | Value |
|---|---|
| GHSA | GHSA-gm29-35c7-8cfw ↗ |
| CVE | CVE-2019-5422 ↗ |
| CWE id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') |
Vulnerable version ranges and first patched releases as published by GitHub.
| Ecosystem | Package | Vulnerable range | First patched | Vulnerable functions |
|---|---|---|---|---|
| npm | buttle | <= 0.2.0 | — | — |