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

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-01)
- Published: 2024-12-26T18:25:25.000Z
- Modified: 2026-06-17T08:12:16.213Z
- Also known as: GHSA-x52f-h5g4-8qv5
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- marp-team marp-core: >= 3.0.2, < 3.9.1; >= 4.0.0, < 4.0.1
- @marp-team/marp-core (npm): from 3.0.2 before 3.9.1; from 4.0.0 before 4.0.1

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L`

## References

- <https://github.com/marp-team/marp-core/security/advisories/GHSA-x52f-h5g4-8qv5> (web)
- <https://github.com/marp-team/marp-core/pull/282> (web)
- <https://github.com/marp-team/marp-core/commit/61a1def244d1b6faa8e2c0be97ec0b68cab3ab49> (web)
- <https://github.com/marp-team/marp-core/releases/tag/v3.9.1> (web)
- <https://github.com/marp-team/marp-core/releases/tag/v4.0.1> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-56510> (advisory)
- <https://github.com/marp-team/marp-core> (package)

## Sources

- CVE List: [CVE-2024-56510](https://www.cve.org/CVERecord?id=CVE-2024-56510), CVE Terms of Use, modified 2024-12-27
- GitHub Advisory Database: [GHSA-x52f-h5g4-8qv5](https://github.com/advisories/GHSA-x52f-h5g4-8qv5), CC-BY-4.0, modified 2024-12-26
- NVD: [CVE-2024-56510](https://nvd.nist.gov/vuln/detail/CVE-2024-56510), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-56510 · Whole record: https://cve.day/CVE-2024-56510.json · Rebuilt by cve.day 2026-11-25T22:58:50.381Z
