{"cve":"CVE-2024-38527","nvd":{"published":"2024-06-26T20:15:16.020","modified":"2026-06-17T07:40:28.497","status":"Deferred","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,","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N","score":5.4},"cwes":["CWE-79"],"references":["https://github.com/mermaid-js/zenuml-core/commit/ad7545b33f5f27466cbf357beb65969ca1953e3c","https://github.com/mermaid-js/zenuml-core/security/advisories/GHSA-q6xv-jm4v-349h","https://github.com/mermaid-js/zenuml-core/commit/ad7545b33f5f27466cbf357beb65969ca1953e3c","https://github.com/mermaid-js/zenuml-core/security/advisories/GHSA-q6xv-jm4v-349h"],"products":[],"source":"nvd","synced_at":"2026-10-19T21:52:00.836172422+00:00"},"epss":{"cve":"CVE-2024-38527","score":0.00381,"percentile":0.32157,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-q6xv-jm4v-349h","url":"https://osv.dev/vulnerability/GHSA-q6xv-jm4v-349h","summary":"Cross-site Scripting in ZenUML","modified":"2026-09-10T03:50:15.788918610Z","packages":[{"ecosystem":"npm","name":"@zenuml/core","purl":"pkg:npm/%40zenuml/core","ranges":["<3.23.25"],"fixed":["3.23.25"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}