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
- Cross-site scripting (XSS) in the clipboard package - CVE-2024-45613
- Froala WYSIWYG editor allows cross-site scripting (XSS) - CVE-2024-51434
- VvvebJs Reflected Cross-Site Scripting (XSS) vulnerability - CVE-2024-29271


