{"id":"CVE-2026-24045","summary":"Docmost Affected by Stored XSS in Public Share Page","details":"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.","aliases":["GHSA-h7fp-4f37-29wq"],"modified":"2026-08-12T03:51:18.604517005Z","published":"2026-02-10T16:56:37.966Z","database_specific":{"cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/24xxx/CVE-2026-24045.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/docmost/docmost/releases/tag/v0.25.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/24xxx/CVE-2026-24045.json"},{"type":"ADVISORY","url":"https://github.com/docmost/docmost/security/advisories/GHSA-h7fp-4f37-29wq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-24045"},{"type":"FIX","url":"https://github.com/docmost/docmost/commit/f3f74c591f32f85b8aa9a98ed884a7dd455780f9"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/docmost/docmost","events":[{"introduced":"de5f90309c5dd3e0615bab3a3ec910422967609e"},{"fixed":"08e94eb3c11fda8380932762721155444e0e13fe"},{"fixed":"f3f74c591f32f85b8aa9a98ed884a7dd455780f9"}],"database_specific":{"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:docmost:docmost:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0.20.0"},{"fixed":"0.25.0"}]}}],"versions":["v0.25.0-beta.1","v0.24.1","v0.24.0","v0.23.2","v0.23.1","v0.23.0","v0.22.2","v0.22.1","v0.22.0","v0.21.0","v0.20.4","v0.20.3","v0.20.2","v0.20.1","v0.20.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-24045.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N"}]}