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
Related Issues
- Cross-Site Scripting in markdown-to-jsx - markdown-to-jsx - Vulnerability
- Layui has DOM Clobbering gadgets that leads to Cross-site Scripting - CVE-2024-47075
- VvvebJs Reflected Cross-Site Scripting (XSS) vulnerability - CVE-2024-29271
- Trix has a cross-site Scripting vulnerability on copy & paste - CVE-2024-43368
You might also like:
- Tags:
- npm
- markdown-to-jsx
Anything's wrong? Let us know Last updated on October 15, 2024


