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
- JS Html Sanitizer allows XSS when used with contentEditable - CVE-2025-29771
- Froala WYSIWYG editor allows cross-site scripting (XSS) - CVE-2024-51434
- Open WebUI has Stored XSS in Banner Component via Improper Sanitization Order - CVE-2026-45665
- sanitize-html is vulnerable to XSS through incomprehensive sanitization - CVE-2019-25225


