Vulnerability · Published Dec 26, 2024 · Assigned by GitHub_M

CVE-2024-56510Marp Core allows XSS by improper neutralization of HTML sanitization

Medium 5.3

In plain English

A medium-severity cross-site scripting in marp-core from marp-team. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 25% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.3%top 75.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
npm@marp-team/marp-core3.9.1GHSA-x52f-h5g4-8qv5
npm@marp-team/marp-core4.0.1GHSA-x52f-h5g4-8qv5

Affected products (as reported)

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

Weakness: CWE-79 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L

References