XSS in Docmost
CVE-2026-24045
Docmost is open-source collaborative wiki and documentation software. From 0.20.0 and before 0.25.0, the public share page functionality in Docmost does not properly HTML-escape page titles before inserting them into meta tags and the title tag. This allows Stored Cross-Site Scripting (XSS) attacks, where an attacker can execute arbitrary JavaScript in the context of any user who opens a shared page link. This vulnerability is fixed in 0.25.0.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.003, 19.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Docmost — versions >= 0.20.0, < 0.25.0
Weakness classification (CWE)
References
- https://github.com/docmost/docmost/security/advisories/GHSA-h7fp-4f37-29wq (Exploit, Third Party Advisory)
- https://github.com/docmost/docmost/commit/f3f74c591f32f85b8aa9a98ed884a7dd455780f9 (Patch)
- https://github.com/docmost/docmost/releases/tag/v0.25.0 (Product, Release Notes)