logo

CVE-2024-21535 markdown-to-jsx

Package

Manager: npm
Name: markdown-to-jsx
Vulnerable Version: >=0 <7.4.0

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N

EPSS: 0.00049 pctl0.14871

Details

Cross site scripting in markdown-to-jsx 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.

Metadata

Created: 2024-10-15T06:30:31Z
Modified: 2024-10-15T17:36:26Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/10/GHSA-4wx3-54gh-9fr9/GHSA-4wx3-54gh-9fr9.json
CWE IDs: ["CWE-79"]
Alternative ID: GHSA-4wx3-54gh-9fr9
Finding: F008
Auto approve: 1