Skip to main content

Docmost EUVDEUVD-2026-22754

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

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

6
Patch released
Apr 22, 2026 - 18:47 nvd
Patch available
Patch available
Apr 16, 2026 - 05:29 EUVD
0.71.0
Analysis Generated
Apr 14, 2026 - 22:43 vuln.today
EUVD ID Assigned
Apr 14, 2026 - 22:22 euvd
EUVD-2026-22754
Analysis Generated
Apr 14, 2026 - 22:22 vuln.today
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.

AnalysisAI

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.

Technical ContextAI

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.

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.

Share

EUVD-2026-22754 vulnerability details – vuln.today

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