# CVE-2024-38527: Cross-site Scripting in ZenUML

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N`
- 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.38%, higher than 34% of CVEs (2026-12-01)
- Published: 2024-06-26T19:03:54.000Z
- Modified: 2026-09-10T03:50:15.788Z
- Also known as: GHSA-q6xv-jm4v-349h
- Weaknesses: CWE-79, CWE-80
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

ZenUML is JavaScript-based diagramming tool that requires no server, using Markdown-inspired text definitions and a renderer to create and modify sequence diagrams. Markdown-based comments in the ZenUML diagram syntax are susceptible to Cross-site Scripting (XSS). The comment feature allows the user to attach small notes for reference. This feature allows the user to enter in their comment in markdown comment, allowing them to use common markdown features, such as `**` for bolded text. However, the markdown text is currently not sanitized before rendering, allowing an attacker to enter a malicious payload for the comment which leads to XSS. This puts existing applications that use ZenUML unsandboxed at risk of arbitrary JavaScript execution when rendering user-controlled diagrams. This vulnerability was patched in version 3.23.25,

(As written by CVE List.)

## Affected

- mermaid-js zenuml-core: < 3.23.25
- mermaidjs zenuml-core: up to 3.0.0
- @zenuml/core (npm): before 3.23.25

## Every score

- GitHub_M: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N`

## References

- <https://github.com/mermaid-js/zenuml-core/security/advisories/GHSA-q6xv-jm4v-349h> (web)
- <https://github.com/mermaid-js/zenuml-core/commit/ad7545b33f5f27466cbf357beb65969ca1953e3c> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-38527> (advisory)
- <https://github.com/mermaid-js/zenuml-core> (package)

## Sources

- CVE List: [CVE-2024-38527](https://www.cve.org/CVERecord?id=CVE-2024-38527), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-q6xv-jm4v-349h](https://github.com/advisories/GHSA-q6xv-jm4v-349h), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-38527](https://nvd.nist.gov/vuln/detail/CVE-2024-38527), Public domain, modified 2026-06-17

---

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