CVE-2024-21535
Last modified
CVE-2024-21535 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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.. EPSS estimates a 0.50% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Quantizor | Markdown-To-Jsx | < 7.4.0 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-21535?
How severe is CVE-2024-21535?
How do I fix CVE-2024-21535?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-2153A vulnerability, which was classified as critical, was found…9.8
- CVE-2024-21530Versions of the package cocoon before 0.4.0 are vulnerable t…4.5
- CVE-2024-21531All versions of the package git-shallow-clone are vulnerable…5.3
- CVE-2024-21532All versions of the package ggit are vulnerable to Command I…7.3
- CVE-2024-21533All versions of the package ggit are vulnerable to Arbitrary…6.5
- CVE-2024-21534All versions of the package jsonpath-plus are vulnerable to …9.8
- CVE-2024-21536Versions of the package http-proxy-middleware before 2.0.7, …7.5
- CVE-2024-21537Versions of the package lilconfig from 3.1.0 and before 3.1.…8.9
- CVE-2024-21538Versions of the package cross-spawn before 6.0.6, from 7.0.0…7.7
- CVE-2024-21539Versions of the package @eslint/plugin-kit before 0.2.3 are …7.7
- CVE-2024-2154A vulnerability has been found in SourceCodester Online Mobi…9.8
- CVE-2024-21540Rejected reason: This issue is not a vulnerability because n…
Are you affected by CVE-2024-21535?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
