CVE-2024-56510
published medium CVSS 3.1 · 5.3Marp Core allows XSS by improper neutralization of HTML sanitization
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| marp-team | — | marp-core>= 3.0.2, < 3.9.1 · >= 4.0.0, < 4.0.1 | Affected | Not stated | GitHub_M |
Description
@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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| marp-team | marp-core | >= 3.0.2, < 3.9.1 (affected)>= 4.0.0, < 4.0.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
5- https://github.com/marp-team/marp-core/commit/61a1def244d1b6faa8e2c0be97ec0b68cab3ab49
- https://github.com/marp-team/marp-core/pull/282
- https://github.com/marp-team/marp-core/releases/tag/v3.9.1
- https://github.com/marp-team/marp-core/releases/tag/v4.0.1
- https://github.com/marp-team/marp-core/security/advisories/GHSA-x52f-h5g4-8qv5
Provider assertions
2GitHub_M · cna
Marp Core allows XSS by improper neutralization of HTML sanitization
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 7d96a1af057c99d2cb4af1bd4addee436baa7bd5c274786f41916afc3445af6f
- Ingested
- 23 Sep 2026, 08:31:59 UTC
- Source record
- Official CVE record