ghsa-4wx3-54gh-9fr9
Vulnerability from github
Published
2024-10-15 06:30
Modified
2024-10-15 17:36
Severity ?
6.1 (Medium) - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
5.3 (Medium) - 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
5.3 (Medium) - 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
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.
{ "affected": [ { "package": { "ecosystem": "npm", "name": "markdown-to-jsx" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "7.4.0" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2024-21535" ], "database_specific": { "cwe_ids": [ "CWE-79" ], "github_reviewed": true, "github_reviewed_at": "2024-10-15T17:36:26Z", "nvd_published_at": "2024-10-15T05:15:11Z", "severity": "MODERATE" }, "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.", "id": "GHSA-4wx3-54gh-9fr9", "modified": "2024-10-15T17:36:26Z", "published": "2024-10-15T06:30:31Z", "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" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "type": "CVSS_V3" }, { "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", "type": "CVSS_V4" } ], "summary": "Cross site scripting in markdown-to-jsx" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.