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 (GHSA-ccrp-c664-8p4j) - Vulnerability
- @urql/next Cross-site Scripting vulnerability - CVE-2024-24556
- Stimulsoft Dashboard.JS Cross Site Scripting vulnerability - CVE-2024-24396
- Cross-site Scripting in electron-pdf - CVE-2024-1648
- Tags:
- npm
- markdown-to-jsx
Anything's wrong? Let us know Last updated on October 15, 2024