Description
Versions of the package markdown-to-jsx before 7.4.0 are vulnerable to Cross-site Scripting (XSS) via the src property due to improper input sanitization. An attacker can execute arbitrary code by injecting a malicious iframe element in the markdown.
Recommendation
Update the markdown-to-jsx package to the latest compatible version. Followings are version details:
- Affected version(s): < 7.4.0
- Patched version(s): 7.4.0
References
Could your website be exposed too?
SmartScanner can check your website for Cross site scripting in markdown-to-jsx and gives you actionable findings to investigate.
Start a free scanRelated Issues
- Cross-Site Scripting in markdown-to-jsx - markdown-to-jsx - Vulnerability
- Summernote vulnerable to cross-site scripting - CVE-2024-29504
- Cross Site Scripting vulnerability in store2 - CVE-2024-57556
- Stored Cross-site Scripting (XSS) in excalidraw's web embed component - CVE-2024-32472


