CVE-2024-56510
MEDIUM 5.3CVSS 3.1Marp Core allows XSS by improper neutralization of HTML sanitization
@marp-team/marp-core is the core for Marp, which is the ecosystem to write your presentation with plain Markdown. Marp Core from v3.0.2 to v3.9.0 and v4.0.0, are vulnerable to cross-site scripting (XSS) due to improper neutralization of HTML sanitization. Marp Core v3.9.1 and v4.0.1 have been patched to fix that. If you are unable to update the package immediately, disable all HTML tags by setting html: false option in the Marp class constructor.
- Published
- 26 Dec 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-79
- Also known as
- GHSA-x52f-h5g4-8qv5
- Sources
- NVDJSONOSV GHSA-x52f-h5g4-8qv5JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | @marp-team/marp-core | >= 3.0.2, < 3.9.1 | 3.9.1 |
| OSV | npm | @marp-team/marp-core | >= 4.0.0, < 4.0.1 | 4.0.1 |
References
- https://github.com/marp-team/marp-core/commit/61a1def244d1b6faa8e2c0be97ec0b68cab3ab49 · WEB
- https://github.com/marp-team/marp-core/pull/282 · WEB
- https://github.com/marp-team/marp-core/releases/tag/v3.9.1 · WEB
- https://github.com/marp-team/marp-core/releases/tag/v4.0.1 · WEB
- https://github.com/marp-team/marp-core/security/advisories/GHSA-x52f-h5g4-8qv5 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-56510 · ADVISORY
- https://github.com/marp-team/marp-core · PACKAGE
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 26 Dec 2024)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 26 Dec 2024)