CVE-2024-21535

State
Published
Severity
6.1 Medium
Published
Oct 15, 2024
Updated
Oct 15, 2024
Reserved
Dec 22, 2023

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.1 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:Psnyk

Weaknesses

  • CWE-79 Cross-site Scripting (XSS)

Affected Products

ProductVersions
markdown-to-jsxn/a
  • before 7.4.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.