CVE-2024-56510 Marp Core allows XSS by improper neutralization of HTML sanitization
MediumCVSS 5.3
EPSS 0.32%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| marp-team @marp-team/marp-core(npm) | >= 3.0.2, <= 3.9.0 | No fix listed |
| marp-team @marp-team/marp-core(npm) | = 4.0.0 | No fix listed |
| marp-team @marp-team/marp-core | = >= 3.0.2, < 3.9.1 | No fix listed |
| marp-team @marp-team/marp-core | = >= 4.0.0, < 4.0.1 | No fix listed |
References
- https://github.com/marp-team/marp-core/security/advisories/GHSA-x52f-h5g4-8qv5 vendor-advisory
- https://github.com/marp-team/marp-core/pull/282 patch
- https://github.com/marp-team/marp-core/commit/61a1def244d1b6faa8e2c0be97ec0b68cab3ab49 patch
- https://github.com/marp-team/marp-core/releases/tag/v3.9.1
- https://github.com/marp-team/marp-core/releases/tag/v4.0.1
- nvd.nist.gov third-party-advisory
- github.com