{"id":"GHSA-pqpp-2363-649v","aliases":["GHSA-pqpp-2363-649v"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-Site Scripting in buttle","summary":"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.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative module until a fix is made available.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative module until a fix is made available.","format":"markdown","source":"ghsa"}],"published":"2020-09-02T18:22:30.000Z","modified":"2020-08-31T18:36:36.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"npm","package":"buttle","purl":"pkg:npm/buttle","source":"ghsa"}],"references":[{"url":"https://hackerone.com/reports/404126","tags":["web"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/advisories/810","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pqpp-2363-649v","url":"https://github.com/advisories/GHSA-pqpp-2363-649v","licence":"CC-BY-4.0","modified":"2020-08-31T18:36:36.000Z"}],"updatedAt":"2026-11-25T22:56:46.174Z"}