---
cve: "CVE-2026-23630"
severity: "MEDIUM"
cvss: 6.3
epss: "0.3%"
vendor: "docmost"
kev: false
exploited: false
published: "2026-01-21 23:15:52"
tags: [cve, security, medium]
source: tsecurity.de CVE-Dossier
exported: "2026-10-01T11:04:15+02:00"
---

# CVE-2026-23630

> 6.3 MEDIUM · 🧪 PoC

## Beschreibung

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.

## CISA-Anreicherung (vulnrichment/ADP)

- CISA-SSVC (Coordinator, v2.0.3):
  - Exploitation: **none**
  - Automatable: **no**
  - Technical Impact: **partial**

## CVSS-Vektor

```
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
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Gering | warn |

## Patch verfügbar (OSV)

- 0fe1459864ecc22582e5bae319537b30b705bacf (Commit)
- cb9f27da9a8b4940760e37e5238a1eb91e427daf (Commit)

## Referenzen

- <https://github.com/docmost/docmost/security/advisories/GHSA-r4hj-mc62-jmwj>
- <https://github.com/docmost/docmost/commit/cb9f27da9a8b4940760e37e5238a1eb91e427daf>
- <https://github.com/docmost/docmost/releases/tag/v0.24.0>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2026-23630) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI WID (CSAF)_
