{"id":"GHSA-ccrp-c664-8p4j","aliases":["GHSA-ccrp-c664-8p4j"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-Site Scripting in markdown-to-jsx","summary":"Versions of `markdown-to-jsx` prior to 6.11.4 are vulnerable to Cross-Site Scripting. Due to insufficient input sanitization the package may render output containing malicious JavaScript. This vulnerability can be exploited through input of links containing `data` or VBScript URIs and a base64-encoded payload.\n\n\n## Recommendation\n\nUpgrade to version 6.11.4 or later.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"Versions of `markdown-to-jsx` prior to 6.11.4 are vulnerable to Cross-Site Scripting. Due to insufficient input sanitization the package may render output containing malicious JavaScript. This vulnerability can be exploited through input of links containing `data` or VBScript URIs and a base64-encoded payload.\n\n\n## Recommendation\n\nUpgrade to version 6.11.4 or later.","format":"markdown","source":"ghsa"}],"published":"2020-09-03T21:17:36.000Z","modified":"2021-09-29T19:59:57.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"6.11.4"}],"ecosystem":"npm","package":"markdown-to-jsx","purl":"pkg:npm/markdown-to-jsx","source":"ghsa"}],"references":[{"url":"https://github.com/probablyup/markdown-to-jsx/pull/307","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/probablyup/markdown-to-jsx","tags":["package"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/advisories/1219","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-ccrp-c664-8p4j","url":"https://github.com/advisories/GHSA-ccrp-c664-8p4j","licence":"CC-BY-4.0","modified":"2021-09-29T19:59:57.000Z"}],"updatedAt":"2026-11-25T22:56:45.075Z"}