# GHSA-ccrp-c664-8p4j: Cross-Site Scripting in markdown-to-jsx

- Severity: High (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-09-03T21:17:36.000Z
- Modified: 2021-09-29T19:59:57.000Z
- Weaknesses: CWE-79

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


## Recommendation

Upgrade to version 6.11.4 or later.

(As written by GitHub Advisory Database.)

## Affected

- markdown-to-jsx (npm): before 6.11.4

## References

- <https://github.com/probablyup/markdown-to-jsx/pull/307> (web)
- <https://github.com/probablyup/markdown-to-jsx> (package)
- <https://www.npmjs.com/advisories/1219> (web)

## Sources

- GitHub Advisory Database: [GHSA-ccrp-c664-8p4j](https://github.com/advisories/GHSA-ccrp-c664-8p4j), CC-BY-4.0, modified 2021-09-29

---

Page: https://cve.day/GHSA-ccrp-c664-8p4j · Whole record: https://cve.day/GHSA-ccrp-c664-8p4j.json · Rebuilt by cve.day 2026-11-25T22:56:45.075Z
