CVE-2024-21535: XSS

Published Oct 15, 2024
·
Updated

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 Software

6 affected componentsFixes available
npm/markdown-to-jsx<7.4.0
7.4.0
Quantizor Markdown-to-jsx<7.4.0
IBM Security Verify Governance<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Software Stack<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Virtual Appliance<=ISVG 10.0.2
IBM Security Verify Governance Identity Manager Container<=ISVG 10.0.2

Event History

Oct 15, 2024
CVE Published
via MITRE·05:00 AM
Data Sourced
via MITRE·05:00 AM
DescriptionSeverityWeakness
Advisory Published
via GitHub·06:30 AM
Apr 9, 2025
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-21535?

CVE-2024-21535 is classified as a high severity vulnerability due to the potential for Cross-site Scripting (XSS) attacks.

2

How do I fix CVE-2024-21535?

To fix CVE-2024-21535, update the markdown-to-jsx package to version 7.4.0 or later.

3

What types of attacks are possible with CVE-2024-21535?

CVE-2024-21535 allows attackers to execute arbitrary code via XSS by injecting malicious elements within the markdown.

4

Which versions are affected by CVE-2024-21535?

CVE-2024-21535 affects all versions of the markdown-to-jsx package prior to 7.4.0.

5

Who is the vendor associated with CVE-2024-21535?

CVE-2024-21535 is associated with the vendor Quantizor, which maintains the markdown-to-jsx package.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203