GitHub Advisoryadvisory · npm
GHSA-pqpp-2363-649v Cross-Site Scripting in buttle
MEDIUM
Official page ↗
- Ecosystem
- npm
- Packages
- buttle
- Severity
- Moderate
- Weaknesses
- CWE-79
- Reviewed
- 2020-08-31
Affected packages
• npm buttle: all versions (no fix yet)
Description
All versions of `buttle` are vulnerable to Cross-Site Scripting. Due to misconfiguration of its rendering engine, `buttle` does not sanitize the HTML output allowing attackers to run arbitrary JavaScript when processing malicious markdown files.
Recommendation
No fix is currently available. Consider using an alternative module until a fix is made available.
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness