What’s Vulnerable › Vulnerabilities

CVE-2024-21535

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.

Affected products

How to fix

Upgrade to a fixed version: markdown-to-jsx 7.4.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-21535 or the next vulnerability affects your stack