CVE-2026-40927
Received Received - Intake
Cross-Site Scripting in Docmost Comments Allows Code Execution

Publication date: 2026-04-21

Last updated on: 2026-04-23

Assigner: GitHub, Inc.

Description
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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-04-21
Last Modified
2026-04-23
Generated
2026-06-16
AI Q&A
2026-04-22
EPSS Evaluated
2026-06-15
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
docmost docmost to 0.80.0 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability exists in Docmost, an open-source collaborative wiki and documentation software. Prior to version 0.80.0, when a user leaves a comment on a page, it is possible to include a JavaScript URI as a link. If another user clicks on this link, the JavaScript code executes, which can lead to security issues.

Impact Analysis

The vulnerability allows execution of arbitrary JavaScript code when a user clicks on a malicious link in a comment. This can lead to cross-site scripting (XSS) attacks, potentially compromising user data, session tokens, or causing unauthorized actions within the application.

Mitigation Strategies

To mitigate this vulnerability, upgrade Docmost to version 0.80.0 or later, where the issue has been fixed.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-40927. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart