{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-21535","published":"2024-10-15T05:15:11.530000Z","last_modified":"2026-06-17T07:09:41.770000Z","status":"Analyzed","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:quantizor:markdown-to-jsx:*:*:*:*:*:*:*:*","part":"a","vendor":"quantizor","product":"markdown-to-jsx","version_end_excluding":"7.4.0"}],"cpes_truncated":false,"vendors":["quantizor"],"products":["quantizor/markdown-to-jsx"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00714,"percentile":0.49447,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-4wx3-54gh-9fr9","ecosystem":"npm","name":"markdown-to-jsx","purl":"pkg:npm/markdown-to-jsx","ranges":[{"introduced":"0","fixed":"7.4.0"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2024-21535/","html_en":"/en/cve/CVE-2024-21535/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-21535","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-21535"},"untrusted":{"vendor_name":"Quantizor","product_name":"Markdown-to-jsx","desc_en":"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":[{"untrusted_vendor":"markdown-to-jsx","untrusted_product":"markdown-to-jsx","versions":[]}],"references":[{"url":"https://github.com/quantizor/markdown-to-jsx/commit/8eb74da825c0d8d2e9508d73c672bcae36ba555a","tags":["Patch"]},{"url":"https://security.snyk.io/vuln/SNYK-JS-MARKDOWNTOJSX-6258886","tags":["Third Party Advisory"]}]}}