Skip to content
OpenAdvisories
Medium · 5.3 CVE-2024-56510 EUVD-2024-3621GHSA-x52f-h5g4-8qv5

Marp Core allows XSS by improper neutralization of HTML sanitization

Published Dec 26, 2024 · Updated Dec 27, 2024 · Assigned by 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.

Affected products

VendorProductAffectedFixed
marp-team marp-core >= 3.0.2, < 3.9.1, >= 4.0.0, < 4.0.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @marp-team/marp-core >= 3.0.2, < 3.9.1 3.9.1 GHSA-x52f-h5g4-8qv5
npm @marp-team/marp-core >= 4.0.0, < 4.0.1 4.0.1 GHSA-x52f-h5g4-8qv5

References