XSS in Docmost
CVE-2026-34212
Docmost is open-source collaborative wiki and documentation software. In versions prior to 0.71.0, improper neutralization of attachment URLs in Docmost allows a low-privileged authenticated user to store a malicious `javascript:` URL inside an attachment node in page content. When another user views the page and activates the attachment link/icon, attacker-controlled JavaScript executes in the context of the Docmost origin. Version 0.71.0 patches the issue.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.002, 12.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Docmost — versions < 0.71.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- 0xmrma/CVE-2026-34212 (last pushed 2026-06-26): Docmost accepted a javascript: URL inside an attachment node, preserved it through storage and rendering, and turned it back into a clickable anchor in the Docmost origin.
References
- https://github.com/docmost/docmost/security/advisories/GHSA-cf68-cff9-hq4w (Exploit, Vendor Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.