5.4medium
Docmost page content has stored XSS via unsanitized attachment URLs
- Severity
- 5.4medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.21% (higher than 11% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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
| Product or package | Versions | Reported by |
|---|---|---|
| docmost docmost | < 0.71.0, before 0.71.0 | CVE List, NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Docmost es un software de wiki y documentación colaborativo de código abierto. En versiones anteriores a la 0.71.0, una neutralización incorrecta de las URL de adjuntos en Docmost permite a un usuario autenticado con bajos privilegios almacenar una URL maliciosa 'javascript:' dentro de un nodo de adjunto en el contenido de la página. Cuando otro usuario ve la página y activa el enlace/icono del adjunto, JavaScript controlado por el atacante se ejecuta en el contexto del origen de Docmost. La versión 0.71.0 corrige el problema.
References
| https://github.com/docmost/docmost/security/advisories/GHSA-cf68-cff9-hq4w | exploit, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-34212 changed 2026-04-15 | CVE Terms of Use |
| NVD | CVE-2026-34212 changed 2026-07-24 | Public domain |