CVE-2024-56510 json
Marp Core allows XSS by improper neutralization of HTML sanitization
published 2024-12-26 22 mo ago modified 2026-06-17 4 mo ago also GHSA-x52f-h5g4-8qv5 , EUVD-2024-3621
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 24%
- public exploits
- 0
- none known
Summary
@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.
Patch / fix
- npm @marp-team/marp-core 3.9.1, 4.0.1
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 22 mo ago
Exploit prediction
0.32% chance of exploitation in the next 30 days, higher than 24% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L |
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @marp-team/marp-core | >=3.0.2, <3.9.1 >=4.0.0, <4.0.1 |
3.9.1 4.0.1 |
Affected products
- marp-team marp-core
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/marp-team/marp-core/pull/282
web
-
github.com
/marp-team/marp-core/commit/61a1def244d1b6faa8e2c0be97ec0b68cab3ab49
web
-
github.com
/marp-team/marp-core/security/advisories/GHSA-x52f-h5g4-8qv5
web
-
github.com
/marp-team/marp-core/releases/tag/v3.9.1
web
-
github.com
/marp-team/marp-core/releases/tag/v4.0.1
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-56510
advisory
-
github.com
/marp-team/marp-core
package
Sources
- CVE List CVE-2024-56510
- GitHub Advisory GHSA-x52f-h5g4-8qv5
- NVD CVE-2024-56510
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.