{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-23630","published":"2026-01-21T23:15:52.187000Z","last_modified":"2026-06-17T10:21:51.970000Z","status":"Analyzed","cvss":{"version":"4.0","score":6.3,"severity":"MEDIUM","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-79","CWE-116"],"cpes":[{"criteria":"cpe:2.3:a:docmost:docmost:*:*:*:*:*:*:*:*","part":"a","vendor":"docmost","product":"docmost","version_start_including":"0.3.0","version_end_excluding":"0.24.0"}],"cpes_truncated":false,"vendors":["docmost"],"products":["docmost/docmost"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":38,"links":{"html_es":"/es/cve/CVE-2026-23630/","html_en":"/en/cve/CVE-2026-23630/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-23630","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-23630"},"untrusted":{"vendor_name":"Docmost","product_name":"Docmost","desc_en":"Docmost is open-source collaborative wiki and documentation software. In versions 0.3.0 through 0.23.2, Mermaid code block rendering is vulnerable to stored Cross-Site Scripting (XSS). The frontend can render attacker-controlled Mermaid diagrams using mermaid.render(), then inject the returned SVG/HTML into the DOM via dangerouslySetInnerHTML without sanitization. Mermaid per-diagram %%{init}%% directives allow overriding securityLevel and enabling htmlLabels, permitting arbitrary HTML/JS execution for any viewer. This issue has been fixed in version 0.24.0.","affected":[{"untrusted_vendor":"docmost","untrusted_product":"docmost","versions":[]}],"references":[{"url":"https://github.com/docmost/docmost/commit/cb9f27da9a8b4940760e37e5238a1eb91e427daf","tags":["Patch"]},{"url":"https://github.com/docmost/docmost/releases/tag/v0.24.0","tags":["Product","Release Notes"]},{"url":"https://github.com/docmost/docmost/security/advisories/GHSA-r4hj-mc62-jmwj","tags":["Exploit","Vendor Advisory"]}]}}