Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @marp-team/marp-core
  4. ›
  5. CVE-2024-56510

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

December 26, 2024

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.

References

  • github.com/advisories/GHSA-x52f-h5g4-8qv5
  • github.com/marp-team/marp-core
  • github.com/marp-team/marp-core/commit/61a1def244d1b6faa8e2c0be97ec0b68cab3ab49
  • github.com/marp-team/marp-core/pull/282
  • github.com/marp-team/marp-core/releases/tag/v3.9.1
  • github.com/marp-team/marp-core/releases/tag/v4.0.1
  • github.com/marp-team/marp-core/security/advisories/GHSA-x52f-h5g4-8qv5
  • nvd.nist.gov/vuln/detail/CVE-2024-56510

Code Behaviors & Features

Detect and mitigate CVE-2024-56510 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.0.2 before 3.9.1, all versions starting from 4.0.0 before 4.0.1, version 4.0.0

Fixed versions

  • 3.9.1
  • 4.0.1

Solution

Upgrade to versions 3.9.1, 4.0.1 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/@marp-team/marp-core/CVE-2024-56510.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:54 +0000.