CVE-2026-23630
MEDIUM EPSS 15.3%
Published Jan 21, 20265mo ago · Modified Jun 17, 20262w ago
6.3 CVSS 4.0
Published Jan 21, 2026 5mo ago
Last Modified Jun 17, 2026 2w ago
Description
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.
CVSS Details
Base Score
Exploitability
Impact
Vector string
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 Attack Vector Network
Attack Complexity Low
Privileges Required Low
User Interaction P
Scope X
Threat Intelligence
EPSS Exploit Probability
15.3% percentile
Exploit & Patch Status
Public Exploit Known
Patch Available
Weaknesses 2
CWE-116
CWE-79 Cross-site Scripting Injection
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| docmost | docmost | * | ≥0.3.0 – <0.24.0 |
References 3
- github.com https://github.com/docmost/docmost/commit/cb9f27da9a8b4940760e37e5238a1eb91e427daf
- github.com https://github.com/docmost/docmost/releases/tag/v0.24.0
- github.com https://github.com/docmost/docmost/security/advisories/GHSA-r4hj-mc62-jmwj
Remediation
- github.com https://github.com/docmost/docmost/commit/cb9f27da9a8b4940760e37e5238a1eb91e427daf