{"id":"GHSA-ccrp-c664-8p4j","summary":"Cross-Site Scripting in markdown-to-jsx","details":"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.","modified":"2021-09-29T19:59:57Z","published":"2020-09-03T21:17:36Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2020-08-31T18:51:20Z","nvd_published_at":null,"cwe_ids":["CWE-79"]},"references":[{"type":"WEB","url":"https://github.com/probablyup/markdown-to-jsx/pull/307"},{"type":"PACKAGE","url":"https://github.com/probablyup/markdown-to-jsx"},{"type":"WEB","url":"https://www.npmjs.com/advisories/1219"}],"affected":[{"package":{"name":"markdown-to-jsx","ecosystem":"npm","purl":"pkg:npm/markdown-to-jsx"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"6.11.4"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-ccrp-c664-8p4j/GHSA-ccrp-c664-8p4j.json"}}],"schema_version":"1.9.0"}