Bug 2318700 (CVE-2024-21535) - CVE-2024-21535 markdown-to-jsx: Cross-site Scripting vulnerability in markdown-to-jsx
Summary: CVE-2024-21535 markdown-to-jsx: Cross-site Scripting vulnerability in markdow...
Keywords:
Status: NEW
Alias: CVE-2024-21535
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2318703 2318704
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-15 06:01 UTC by OSIDB Bzimport
Modified: 2024-10-21 09:41 UTC (History)
15 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-10-15 06:01:10 UTC
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.

Comment 1 Lumír Balhar 2024-10-15 10:04:02 UTC
Reported upstream for jupyterlab: https://github.com/jupyterlab/jupyterlab/issues/16864

Comment 2 Lumír Balhar 2024-10-16 08:57:48 UTC
Fixed upstream in https://github.com/jupyterlab/jupyterlab/commit/e707512050c9b54e4a7a76c313f64cf0a9c4abc2 I'm waiting for the next release.


Note You need to log in before you can comment on or make changes to this bug.