Skip to content
OpenAdvisories
High GHSA-ccrp-c664-8p4j

Cross-Site Scripting in markdown-to-jsx

Published Sep 3, 2020 · Updated Sep 29, 2021 · Assigned by GHSA

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.

Affected packages

EcosystemPackageAffectedFixedRecord
npm markdown-to-jsx < 6.11.4 6.11.4 GHSA-ccrp-c664-8p4j

References