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-05-07
AI Q&A
2026-04-22
EPSS Evaluated
2026-05-05
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 Powered Q&A
Can you explain this vulnerability to me?

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.


How can this vulnerability impact me? :

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.


What immediate steps should I take to mitigate this vulnerability?

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


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart