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.
:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.
Vulnerable Library - core-5.15.0.tgz
Path to dependency file: /openmetadata-ui/src/main/resources/ui/package.json
Path to vulnerable library: /openmetadata-ui/src/main/resources/ui/package.json
Vulnerabilities
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
Details
CVE-2024-21535
### Vulnerable Library - markdown-to-jsx-7.3.2.tgzLibrary home page: https://registry.npmjs.org/markdown-to-jsx/-/markdown-to-jsx-7.3.2.tgz
Path to dependency file: /openmetadata-ui/src/main/resources/ui/package.json
Path to vulnerable library: /openmetadata-ui/src/main/resources/ui/package.json
Dependency Hierarchy: - core-5.15.0.tgz (Root Library) - :x: **markdown-to-jsx-7.3.2.tgz** (Vulnerable Library)
Found in base branch: main
### Vulnerability DetailsVersions 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.
Publish Date: 2024-10-15
URL: CVE-2024-21535
### CVSS 3 Score Details (6.1)Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: Required - Scope: Changed - Impact Metrics: - Confidentiality Impact: Low - Integrity Impact: Low - Availability Impact: None
For more information on CVSS3 Scores, click here. ### Suggested FixType: Upgrade version
Origin: https://www.cve.org/CVERecord?id=CVE-2024-21535
Release Date: 2024-10-15
Fix Resolution (markdown-to-jsx): 7.4.0
Direct dependency fix Resolution (@rjsf/core): 5.15.1
In order to enable automatic remediation, please create workflow rules
In order to enable automatic remediation for this issue, please create workflow rules