AI description
CVE-2026-23630 identifies a stored Cross-Site Scripting (XSS) vulnerability within Docmost, an open-source collaborative wiki and documentation software. This flaw affects Docmost versions 0.3.0 through 0.23.2. The vulnerability stems from the application's handling of Mermaid code block rendering, where attacker-controlled Mermaid diagrams are processed and then directly inserted into the Document Object Model (DOM) without adequate sanitization. Specifically, the issue arises because the `mermaid.render()` function's output is injected via `dangerouslySetInnerHTML`. Attackers can exploit Mermaid's per-diagram `%%{init}%%` directives to bypass security configurations, such as enabling `htmlLabels`, which permits the execution of arbitrary HTML and JavaScript for any user who views the compromised content.
- 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.
- Source
- security-advisories@github.com
- NVD status
- Analyzed
- Products
- docmost
CVSS 4.0
- Type
- Secondary
- Base score
- 6.3
- Impact score
- -
- Exploitability score
- -
- 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
- Severity
- MEDIUM
CVSS 3.1
- Type
- Primary
- Base score
- 5.4
- Impact score
- 2.7
- Exploitability score
- 2.3
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Severity
- MEDIUM
Hype score is a measure of social media activity compared against trending CVEs from the past 12 months. Max score 100.
- Hype score
8
108 CVE-2025-58434 CVE-2025-59057 CVE-2025-59343 CVE-2025-59790 CVE-2025-59792 CVE-2025-61622 CVE-2025-61686 CVE-2025-62228 CVE-2025-62232 CVE-2025-64756 CVE-2026-21884 CVE-2026-22706 CVE-2026-22807 CVE-2026-23630 CVE-2026-24015 CVE-2026-24899 CVE-2026-27471 CVE-2026-27806
@BugBunny_ai
27 Aug 2026
4708 Impressions
0 Retweets
18 Likes
6 Bookmarks
2 Replies
1 Quote
66 CVE-2025-58434 CVE-2025-59057 CVE-2025-59790 CVE-2025-59792 CVE-2025-61622 CVE-2025-61686 CVE-2025-64756 CVE-2026-21884 CVE-2026-22807 CVE-2026-23630 CVE-2026-27471 CVE-2026-27806 CVE-2026-27955 CVE-2026-28215 CVE-2026-28217 CVE-2026-28351 CVE-2026-28361 CVE-2026-28384
@BugBunny_ai
14 May 2026
23006 Impressions
42 Retweets
319 Likes
117 Bookmarks
12 Replies
3 Quotes
[
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:docmost:docmost:*:*:*:*:*:*:*:*",
"matchCriteriaId": "6CC11D0B-FC45-4B78-A37D-CD653CD33D2E",
"versionEndExcluding": "0.24.0",
"versionStartIncluding": "0.3.0",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
]