{"id":"GHSA-ccrp-c664-8p4j","aliases":[],"status":"published","title":"Cross-Site Scripting in markdown-to-jsx","description":"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.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2020-09-03T21:17:36Z","modified":"2023-01-09T05:04:22Z","fixes":[{"ecosystem":"npm","package":"markdown-to-jsx","fixed_in":["6.11.4"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"markdown-to-jsx","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.11.4"}]}]},{"source":"osv","ecosystem":"npm","package":"markdown-to-jsx","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"6.11.4"}]}]}],"references":[{"url":"https://github.com/probablyup/markdown-to-jsx/pull/307","tags":["web"]},{"url":"https://www.npmjs.com/advisories/1219","tags":["web"]},{"url":"https://github.com/advisories/GHSA-ccrp-c664-8p4j"},{"url":"https://github.com/probablyup/markdown-to-jsx","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-ccrp-c664-8p4j","title":"Cross-Site Scripting in markdown-to-jsx","description":"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.","status":"published","published":"2020-09-03T21:17:36Z","modified":"2023-01-09T05:04:22Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:09.554044Z"}],"osv":[{"id":"GHSA-ccrp-c664-8p4j","title":"Cross-Site Scripting in markdown-to-jsx","description":"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.","status":"published","published":"2020-09-03T21:17:36Z","modified":"2021-09-29T19:59:57Z","cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:44.927642Z"}]}}
