Description
Marp Core (@marp-team/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.
Recommendation
Update the @marp-team/marp-core package to the latest compatible version. Followings are version details:
Affected version(s): **= 4.0.0 >= 3.0.2, <= 3.9.0** Patched version(s): **4.0.1 3.9.1**
References
Could your website be exposed too?
SmartScanner can check your website for Marp Core allows XSS by improper neutralization of HTML sanitization and gives you actionable findings to investigate.
Start a free scanRelated Issues
- mathlive's Lack of Escaping of HTML allows for XSS - mathlive - CVE-2026-54705
- Linkify Allows Prototype Pollution & HTML Attribute Injection (XSS) - CVE-2025-8101
- Svelte has a potential mXSS vulnerability due to improper HTML escaping - CVE-2024-45047
- Froala WYSIWYG editor allows cross-site scripting (XSS) - CVE-2024-51434


