Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate to Docmost
-
DeliveryUpload file with spoofed MIME type
-
ExploitInject malicious script into file content
-
InstallStore malicious content in database
-
C2Victim views affected document
-
ExecuteScript executes in victim's browser
-
ImpactCompromise victim's session or data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | CVSS 4.6 (Medium severity) reflects a bounded real-world impact: the attack requires prior authentication (PR:L) and user interaction (UI:R), limiting the attacker pool to legitimate account holders and constraining the attack surface to social engineering or direct manipulation of viewed documents. The EPSS score is not provided, preventing probabilistic exploitation probability assessment. With no publicly available exploit code or CISA KEV confirmation, actual exploitation risk in the wild is unquantified but likely lower than the base CVSS suggests. However, stored XSS in collaborative platforms presents elevated risk because injected payloads persist and propagate across multiple users, and the confidentiality/integrity impact (C:L/I:L) justifies remediation priority despite the medium score. Organizations using Docmost should prioritize patching because the low authentication barrier and persistence mechanism make this a practical attack vector for insider threats or compromised accounts. |
| Exploit ScenarioDerived | An authenticated attacker (or compromised account holder) uploads a file while spoofing its MIME type-for example, naming a text file containing JavaScript as image/png-to bypass server-side file type validation. The malicious content is stored in the wiki. When another user views or accesses the document, the stored script executes in their browser, potentially stealing session tokens, modifying document content, or performing actions on behalf of the victim. The attacker relies on social engineering or knowledge that victims will interact with the uploaded content. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 14, 2026
Stored cross-site scripting (XSS) in Docmost prior to version 0.70.0 allows authenticated attackers to inject malicious scripts through MIME type spoofing, potentially compromising user sessions and data integrity. The vulnerability requires user interaction (clicking a link or viewing injected content) and affects only the confidentiality and integrity of affected users' data, not availability. Vendor-released patch: version 0.70.0.
RemediationAI
Upgrade Docmost to version 0.70.0 or later immediately. This version contains the vendor-released patch addressing MIME type validation and XSS prevention. If immediate upgrade is not feasible, restrict document upload and editing permissions to trusted users only, and implement Content Security Policy (CSP) headers with strict directives (script-src 'self') to mitigate stored XSS payload execution. Verify the patch by reviewing the security advisory at https://github.com/docmost/docmost/security/advisories/GHSA-7cq4-577p-wp6p and consulting the official release notes. After patching, audit recently modified documents for signs of injected scripts, particularly any uploaded files with mismatched MIME types.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Docmost is a collaborative wiki and documentation platform that fails to properly validate MIME type information during content upload or processing. CWE-79 (Improper Neutralization of Input During Web Page Generation) indicates the root cause is insufficient input sanitization or output encoding when handling file MIME types. Attackers can spoof MIME type headers to bypass server-side validation, allowing injected JavaScript to be stored and executed in the browsers of users who subsequently view the affected content. The vulnerability chain involves file upload handling that trusts user-supplied MIME type values without proper verification or encoding before rendering in the web interface.
Know when Docmost gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
Primary rating from Vendor (github) · only source for this CVE.
CVSS VectorVendor: github
Lifecycle Timeline
3DescriptionCVE.org
Docmost is open-source collaborative wiki and documentation software. Versions prior to 0.70.0 are vulnerable to a stored cross-site scripting (XSS) attack due to improper handling of MIME type spoofing (GHSL-2026-052). An attacker could exploit this flaw to inject malicious scripts, potentially compromising the security of users and data. Version 0.70.0 contains a patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Unauthenticated path traversal in Docmost v0.21.0's avatar attachment endpoint allows remote attackers to read arbitrary
Stored XSS in Docmost before version 0.25.0 allows authenticated attackers to inject malicious scripts into public share
Docmost versions 0.21.0 through 0.23.x contain a path traversal vulnerability in the zip import feature that allows auth
Stored XSS in Docmost 0.3.0-0.23.2 allows authenticated users to execute arbitrary JavaScript in the browsers of documen
Arbitrary local file and directory deletion on Docmost deployments that use local storage, exploitable by any authentica
Uncontrolled archive extraction in Docmost 0.21.0 through 0.95.0 lets any authenticated workspace member who holds edit
Docmost versions 0.3.0 through 0.70.x allow authenticated users with low privileges to overwrite arbitrary attachments b
Stored cross-site scripting in Docmost's comment system allows authenticated users to plant javascript: URI hyperlinks t
Stored cross-site scripting (XSS) in Docmost prior to version 0.71.0 allows authenticated users to inject malicious `jav
Unauthenticated path traversal in Docmost versions prior to 0.80.1 allows a remote attacker to read files from local sto
Workspace ADMIN accounts in Docmost prior to 0.90.1 can mint OWNER-level accounts through the workspace invitation flow,
Authenticated workspace members in Docmost prior to 0.90.1 can read confidential sync-block content from private spaces
EUVD-2026-22752
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB