Vulnerability · Published Apr 14, 2026 · Assigned by GitHub_M
CVE-2026-34212Docmost page content has stored XSS via unsanitized attachment URLs
Medium 5.4
In plain English
A medium-severity cross-site scripting in docmost from docmost. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 11% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code.
Official description
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.
Affected products (as reported)
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
References
- https://github.com/docmost/docmost/security/advisories/GHSA-cf68-cff9-hq4w x_refsource_CONFIRM