Skip to content

CVE-2024-21535 (Medium) detected in markdown-to-jsx-6.11.4.tgz - autoclosed #9716

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mend-for-g.yxqyang.asia bot opened this issue Apr 24, 2025 · 1 comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend untriaged

Comments

@mend-for-g.yxqyang.asia
Copy link

CVE-2024-21535 - Medium Severity Vulnerability

Vulnerable Library - markdown-to-jsx-6.11.4.tgz

Convert markdown to JSX with ease for React and React-like projects. Super lightweight and highly configurable.

Library home page: https://registry.npmjs.org/markdown-to-jsx/-/markdown-to-jsx-6.11.4.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • @osd/storybook-1.0.0.tgz (Root Library)
    • core-6.3.13.tgz
      • core-client-6.3.13.tgz
        • ui-6.3.13.tgz
          • markdown-to-jsx-6.11.4.tgz (Vulnerable Library)

Found in HEAD commit: cba076465f44b6a819e3cff7986ff4cd21a66371

Found in base branch: main

Vulnerability Details

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.

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.

@mend-for-g.yxqyang.asia mend-for-g.yxqyang.asia bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Apr 24, 2025
@mend-for-g.yxqyang.asia mend-for-g.yxqyang.asia bot changed the title CVE-2024-21535 (Medium) detected in markdown-to-jsx-6.11.4.tgz CVE-2024-21535 (Medium) detected in markdown-to-jsx-6.11.4.tgz - autoclosed May 1, 2025
Copy link
Author

✔️ 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend untriaged
Projects
None yet
Development

No branches or pull requests

0 participants