CVE-2026-34212
Docmost page content has stored XSS via unsanitized attachment URLs
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.
INFO
Published Date :
April 14, 2026, 10:16 p.m.
Last Modified :
July 24, 2026, 10:10 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | MEDIUM | MITRE-CVE |
Solution
- Update Docmost to version 0.71.0 or later.
- Ensure attachment URLs are properly neutralized.
- Review user privileges and access controls.
Public PoC/Exploit Available at Github
CVE-2026-34212 has a 2 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-34212.
| URL | Resource |
|---|---|
| https://github.com/docmost/docmost/security/advisories/GHSA-cf68-cff9-hq4w | Exploit Vendor Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-34212 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-34212
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
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.
📡 PoC auto collect from GitHub. ⚠️ Be careful Malware.
security cve exploit poc vulnerability
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-34212 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-34212 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Jul. 24, 2026
Action Type Old Value New Value Added Translation Title: Docmost, Description: 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. -
CVE Modified by [email protected]
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'docmost', 'product': 'docmost', 'versions': [{'status': 'affected', 'version': '< 0.71.0'}]}] -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 17, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-34212', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-04-15T18:56:22.513458Z'} -
Initial Analysis by [email protected]
Apr. 22, 2026
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:docmost:docmost:*:*:*:*:*:*:*:* versions up to (excluding) 0.71.0 Added Reference Type GitHub, Inc.: https://github.com/docmost/docmost/security/advisories/GHSA-cf68-cff9-hq4w Types: Exploit, Vendor Advisory -
New CVE Received by [email protected]
Apr. 14, 2026
Action Type Old Value New Value Added 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. Added CVSS V3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N Added CWE CWE-79 Added Reference https://github.com/docmost/docmost/security/advisories/GHSA-cf68-cff9-hq4w