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.
History

Thu, 17 Oct 2024 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Quantizor
Quantizor markdown-to-jsx
CPEs cpe:2.3:a:quantizor:markdown-to-jsx:*:*:*:*:*:*:*:*
Vendors & Products Quantizor
Quantizor markdown-to-jsx

Wed, 16 Oct 2024 01:15:00 +0000

Type Values Removed Values Added
Title markdown-to-jsx: Cross-site Scripting vulnerability in markdown-to-jsx
References
Metrics threat_severity

None

threat_severity

Moderate


Tue, 15 Oct 2024 14:15:00 +0000

Type Values Removed Values Added
First Time appeared Markdown-to-jsx
Markdown-to-jsx markdown-to-jsx
CPEs cpe:2.3:a:markdown-to-jsx:markdown-to-jsx:*:*:*:*:*:*:*:*
Vendors & Products Markdown-to-jsx
Markdown-to-jsx markdown-to-jsx
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 15 Oct 2024 05:15:00 +0000

Type Values Removed Values Added
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.
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P'}


cve-icon MITRE

Status: PUBLISHED

Assigner: snyk

Published: 2024-10-15T05:00:03.815Z

Updated: 2024-10-15T14:02:35.726Z

Reserved: 2023-12-22T12:33:20.123Z

Link: CVE-2024-21535

cve-icon Vulnrichment

Updated: 2024-10-15T14:02:29.656Z

cve-icon NVD

Status : Analyzed

Published: 2024-10-15T05:15:11.530

Modified: 2024-10-17T20:36:29.213

Link: CVE-2024-21535

cve-icon Redhat

Severity : Moderate

Publid Date: 2024-10-15T05:00:03Z

Links: CVE-2024-21535 - Bugzilla