{"id":"CVE-2024-21535","aliases":["DEBIAN-CVE-2024-21535","GHSA-4wx3-54gh-9fr9","UBUNTU-CVE-2024-21535"],"summary":"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.","published_at":"2024-10-15T05:00:03.815Z","modified_at":"2026-11-02T12:01:23.76781Z","products":[],"rating":{"severity":"medium","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","attack_path":"internet_unauthenticated","user_interaction":true,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Ubuntu","rating":"medium"},{"source":"Red Hat","rating":"Moderate"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.005179999861866236,"percentile":0.4478900134563446,"date":"2026-11-19T00:00:00Z"},"priority":7.6,"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.","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"markdown-to-jsx/markdown-to-jsx","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.4.0"}]}],"fixed":["7.4.0"],"provider":"cvelistv5","source":"CVE-2024-21535","relation":"self"},{"ecosystem":"Debian:13","package":"node-markdown-to-jsx","purl":"pkg:deb/debian/node-markdown-to-jsx?arch=source&distro=trixie","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.2.0+dfsg-3"}]}],"fixed":["7.2.0+dfsg-3"],"provider":"osv","source":"DEBIAN-CVE-2024-21535","relation":"self"},{"ecosystem":"Debian:14","package":"node-markdown-to-jsx","purl":"pkg:deb/debian/node-markdown-to-jsx?arch=source&distro=forky","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.2.0+dfsg-3"}]}],"fixed":["7.2.0+dfsg-3"],"provider":"osv","source":"DEBIAN-CVE-2024-21535","relation":"self"},{"ecosystem":"NVD","package":"quantizor:markdown-to-jsx","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.4.0"}]}],"fixed":["7.4.0"],"provider":"nvd","source":"CVE-2024-21535","relation":"self"},{"ecosystem":"Ubuntu:24.04:LTS","package":"node-markdown-to-jsx","purl":"pkg:deb/ubuntu/node-markdown-to-jsx?arch=source&distro=noble","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.2.0+dfsg-2"],"provider":"osv","source":"UBUNTU-CVE-2024-21535","relation":"self"},{"ecosystem":"Ubuntu:25.10","package":"node-markdown-to-jsx","purl":"pkg:deb/ubuntu/node-markdown-to-jsx?arch=source&distro=questing","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.2.0+dfsg-2","7.2.0+dfsg-3"],"provider":"osv","source":"UBUNTU-CVE-2024-21535","relation":"self"},{"ecosystem":"Ubuntu:26.04:LTS","package":"node-markdown-to-jsx","purl":"pkg:deb/ubuntu/node-markdown-to-jsx?arch=source&distro=resolute","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.2.0+dfsg-3"],"provider":"osv","source":"UBUNTU-CVE-2024-21535","relation":"self"},{"ecosystem":"Ubuntu:26.10","package":"node-markdown-to-jsx","purl":"pkg:deb/ubuntu/node-markdown-to-jsx?arch=source&distro=stonking","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.2.0+dfsg-3","7.2.0+dfsg-4"],"provider":"osv","source":"UBUNTU-CVE-2024-21535","relation":"self"},{"ecosystem":"npm","package":"markdown-to-jsx","purl":"pkg:npm/markdown-to-jsx","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"7.4.0"}]}],"fixed":["7.4.0"],"provider":"osv","source":"GHSA-4wx3-54gh-9fr9","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Migration Toolkit for Virtualization","cpe":"cpe:/a:redhat:migration_toolkit_virtualization:2","status":"affected","packages":["migration-toolkit-virtualization/mtv-console-plugin-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2024-21535"},{"vendor":"Red Hat","product":"Multicluster Engine for Kubernetes","cpe":"cpe:/a:redhat:multicluster_engine","status":"not_affected","packages":["multicluster-engine/multicluster-engine-console-mce-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2024-21535"},{"vendor":"Red Hat","product":"Node HealthCheck Operator","cpe":"cpe:/a:redhat:workload_availability_nhc:0","status":"affected","packages":["workload-availability/node-remediation-console-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2024-21535"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"not_affected","packages":["rhacm2/console-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2024-21535"},{"vendor":"Red Hat","product":"Red Hat Developer Hub 1","cpe":"cpe:/a:redhat:rhdh:1","status":"not_affected","packages":["rhdh-operator-container","rhdh/rhdh-hub-rhel9"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2024-21535"},{"vendor":"Red Hat","product":"Red Hat OpenShift Data Science (RHODS)","cpe":"cpe:/a:redhat:openshift_data_science","status":"affected","packages":["rhods/odh-dashboard-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2024-21535"},{"vendor":"Red Hat","product":"Red Hat OpenShift Data Science (RHODS)","cpe":"cpe:/a:redhat:openshift_data_science","status":"not_affected","packages":["rhods/odh-rhel8-operator"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2024-21535"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2024-21535","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2024-21535","license":"CC-BY-4.0","published_at":"2024-10-15T05:00:03.815Z","modified_at":"2024-10-15T14:02:35.726Z","summary":"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.","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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P","source":"CVE-2024-21535"}],"affected":[{"ecosystem":"CVE","package":"markdown-to-jsx/markdown-to-jsx","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.4.0"}]}],"fixed":["7.4.0"],"provider":"cvelistv5","source":"CVE-2024-21535","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-MARKDOWNTOJSX-6258886"},{"type":"WEB","url":"https://github.com/quantizor/markdown-to-jsx/commit/8eb74da825c0d8d2e9508d73c672bcae36ba555a"}]},{"provider":"nvd","source_id":"CVE-2024-21535","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21535","severity":[],"affected":[{"ecosystem":"NVD","package":"quantizor:markdown-to-jsx","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.4.0"}]}],"fixed":["7.4.0"],"provider":"nvd","source":"CVE-2024-21535","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"DEBIAN-CVE-2024-21535","relation":"self","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2024-21535","published_at":"2024-10-15T05:15:11.53Z","modified_at":"2026-11-02T12:01:23.76781Z","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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"DEBIAN-CVE-2024-21535"}],"affected":[{"ecosystem":"Debian:13","package":"node-markdown-to-jsx","purl":"pkg:deb/debian/node-markdown-to-jsx?arch=source&distro=trixie","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.2.0+dfsg-3"}]}],"fixed":["7.2.0+dfsg-3"],"provider":"osv","source":"DEBIAN-CVE-2024-21535","relation":"self"},{"ecosystem":"Debian:14","package":"node-markdown-to-jsx","purl":"pkg:deb/debian/node-markdown-to-jsx?arch=source&distro=forky","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.2.0+dfsg-3"}]}],"fixed":["7.2.0+dfsg-3"],"provider":"osv","source":"DEBIAN-CVE-2024-21535","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2024-21535"}]},{"provider":"osv","source_id":"GHSA-4wx3-54gh-9fr9","relation":"self","url":"https://osv.dev/vulnerability/GHSA-4wx3-54gh-9fr9","license":"CC-BY-4.0","published_at":"2024-10-15T06:30:31Z","modified_at":"2024-10-15T18:12:20.318536Z","summary":"Cross site scripting in markdown-to-jsx","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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"GHSA-4wx3-54gh-9fr9"},{"type":"CVSS_V4","score":"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","source":"GHSA-4wx3-54gh-9fr9"}],"affected":[{"ecosystem":"npm","package":"markdown-to-jsx","purl":"pkg:npm/markdown-to-jsx","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"7.4.0"}]}],"fixed":["7.4.0"],"provider":"osv","source":"GHSA-4wx3-54gh-9fr9","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21535"},{"type":"WEB","url":"https://github.com/quantizor/markdown-to-jsx/commit/8eb74da825c0d8d2e9508d73c672bcae36ba555a"},{"type":"PACKAGE","url":"https://github.com/quantizor/markdown-to-jsx"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-MARKDOWNTOJSX-6258886"}]},{"provider":"osv","source_id":"UBUNTU-CVE-2024-21535","relation":"self","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2024-21535","license":"CC-BY-SA-4.0","published_at":"2024-10-15T05:15:00Z","modified_at":"2026-10-17T12:56:29.967452Z","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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"UBUNTU-CVE-2024-21535"},{"type":"Ubuntu","score":"medium","source":"UBUNTU-CVE-2024-21535"}],"affected":[{"ecosystem":"Ubuntu:24.04:LTS","package":"node-markdown-to-jsx","purl":"pkg:deb/ubuntu/node-markdown-to-jsx?arch=source&distro=noble","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.2.0+dfsg-2"],"provider":"osv","source":"UBUNTU-CVE-2024-21535","relation":"self"},{"ecosystem":"Ubuntu:25.10","package":"node-markdown-to-jsx","purl":"pkg:deb/ubuntu/node-markdown-to-jsx?arch=source&distro=questing","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.2.0+dfsg-2","7.2.0+dfsg-3"],"provider":"osv","source":"UBUNTU-CVE-2024-21535","relation":"self"},{"ecosystem":"Ubuntu:26.04:LTS","package":"node-markdown-to-jsx","purl":"pkg:deb/ubuntu/node-markdown-to-jsx?arch=source&distro=resolute","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.2.0+dfsg-3"],"provider":"osv","source":"UBUNTU-CVE-2024-21535","relation":"self"},{"ecosystem":"Ubuntu:26.10","package":"node-markdown-to-jsx","purl":"pkg:deb/ubuntu/node-markdown-to-jsx?arch=source&distro=stonking","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.2.0+dfsg-3","7.2.0+dfsg-4"],"provider":"osv","source":"UBUNTU-CVE-2024-21535","relation":"self"}],"product_status":[],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-21535"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-21535"},{"type":"REPORT","url":"https://security.snyk.io/vuln/SNYK-JS-MARKDOWNTOJSX-6258886"},{"type":"REPORT","url":"https://github.com/quantizor/markdown-to-jsx/commit/8eb74da825c0d8d2e9508d73c672bcae36ba555a"}]},{"provider":"redhat-vex","source_id":"CVE-2024-21535","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2024-21535","license":"CC-BY-4.0","published_at":"2024-10-15T05:00:03.815Z","modified_at":"2024-10-21T09:53:49Z","summary":"markdown-to-jsx: Cross-site Scripting vulnerability in markdown-to-jsx","details":"A flaw was found in markdown-to-jsx. This vulnerability allows an attacker to execute arbitrary code via Cross-site scripting (XSS) through the src property by injecting a malicious iframe element into the markdown.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"CVE-2024-21535"},{"type":"Red Hat","score":"Moderate","source":"CVE-2024-21535"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Migration Toolkit for Virtualization","cpe":"cpe:/a:redhat:migration_toolkit_virtualization:2","status":"affected","packages":["migration-toolkit-virtualization/mtv-console-plugin-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2024-21535"},{"vendor":"Red Hat","product":"Multicluster Engine for Kubernetes","cpe":"cpe:/a:redhat:multicluster_engine","status":"not_affected","packages":["multicluster-engine/multicluster-engine-console-mce-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2024-21535"},{"vendor":"Red Hat","product":"Node HealthCheck Operator","cpe":"cpe:/a:redhat:workload_availability_nhc:0","status":"affected","packages":["workload-availability/node-remediation-console-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2024-21535"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"not_affected","packages":["rhacm2/console-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2024-21535"},{"vendor":"Red Hat","product":"Red Hat Developer Hub 1","cpe":"cpe:/a:redhat:rhdh:1","status":"not_affected","packages":["rhdh-operator-container","rhdh/rhdh-hub-rhel9"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2024-21535"},{"vendor":"Red Hat","product":"Red Hat OpenShift Data Science (RHODS)","cpe":"cpe:/a:redhat:openshift_data_science","status":"affected","packages":["rhods/odh-dashboard-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2024-21535"},{"vendor":"Red Hat","product":"Red Hat OpenShift Data Science (RHODS)","cpe":"cpe:/a:redhat:openshift_data_science","status":"not_affected","packages":["rhods/odh-rhel8-operator"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2024-21535"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-21535.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2024-21535"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2318700"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2024-21535"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21535"},{"type":"WEB","url":"https://github.com/quantizor/markdown-to-jsx/commit/8eb74da825c0d8d2e9508d73c672bcae36ba555a"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-MARKDOWNTOJSX-6258886"}]}],"references":[{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-MARKDOWNTOJSX-6258886"},{"type":"WEB","url":"https://github.com/quantizor/markdown-to-jsx/commit/8eb74da825c0d8d2e9508d73c672bcae36ba555a"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2024-21535"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21535"},{"type":"PACKAGE","url":"https://github.com/quantizor/markdown-to-jsx"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-21535"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-21535"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-21535.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2024-21535"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2318700"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2024-21535","url":"https://www.cve.org/CVERecord?id=CVE-2024-21535","license":"CC-BY-4.0","modified_at":"2024-10-15T14:02:35.726Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2024-21535","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21535","relation":"self"},{"provider":"osv","source_id":"DEBIAN-CVE-2024-21535","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2024-21535","modified_at":"2026-11-02T12:01:23.76781Z","relation":"self"},{"provider":"osv","source_id":"GHSA-4wx3-54gh-9fr9","url":"https://osv.dev/vulnerability/GHSA-4wx3-54gh-9fr9","license":"CC-BY-4.0","modified_at":"2024-10-15T18:12:20.318536Z","relation":"self"},{"provider":"osv","source_id":"UBUNTU-CVE-2024-21535","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2024-21535","license":"CC-BY-SA-4.0","modified_at":"2026-10-17T12:56:29.967452Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2024-21535","url":"https://access.redhat.com/security/cve/CVE-2024-21535","license":"CC-BY-4.0","modified_at":"2024-10-21T09:53:49Z","relation":"self"}]}
