# GHSA-pqpp-2363-649v: Cross-Site Scripting in buttle

- Severity: Medium (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-09-02T18:22:30.000Z
- Modified: 2020-08-31T18:36:36.000Z
- Weaknesses: CWE-79

## 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.

(As written by GitHub Advisory Database.)

## Affected

- buttle (npm): all versions

## References

- <https://hackerone.com/reports/404126> (web)
- <https://www.npmjs.com/advisories/810> (web)

## Sources

- GitHub Advisory Database: [GHSA-pqpp-2363-649v](https://github.com/advisories/GHSA-pqpp-2363-649v), CC-BY-4.0, modified 2020-08-31

---

Page: https://cve.day/GHSA-pqpp-2363-649v · Whole record: https://cve.day/GHSA-pqpp-2363-649v.json · Rebuilt by cve.day 2026-11-25T22:56:46.174Z
