{"id":"CVE-2026-40927","summary":"Docmost: XSS in Comments with JavaScript URI","details":"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.","aliases":["GHSA-4gv6-jw3v-wc34"],"modified":"2026-11-13T02:30:36.121317785Z","published":"2026-04-21T20:52:29.313Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40927.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-79"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40927.json"},{"type":"ADVISORY","url":"https://github.com/docmost/docmost/security/advisories/GHSA-4gv6-jw3v-wc34"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40927"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/docmost/docmost","events":[{"introduced":"0"},{"fixed":"2e03d4f4de8290786cc23f395ec6f99be6d9eb9a"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"0.80.0"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"cpe":"cpe:2.3:a:docmost:docmost:*:*:*:*:*:*:*:*","range":[{"introduced":"0"},{"fixed":"0.80.0"}],"source":"CPE_RANGE"}]}}],"versions":["v0.70.2","v0.70.1","v0.71.1","v0.71.0","v0.70.3","v0.70.0","v0.25.3","v0.25.2","v0.25.1","v0.25.0","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","v0.10.2","v0.10.1","v0.10.0","v0.9.0","v0.8.4","v0.8.3","v0.8.2","v0.8.1","v0.8.0","v0.7.0","v0.6.2","v0.6.1","v0.6.0","v0.5.0","v0.4.1","v0.4.0","v0.3.1","v0.3.0","v0.2.10","v0.2.9","v0.2.8","v0.2.7","v0.2.5","v0.2.4","0.2.3","v0.2.2","v0.2.1","v0.2.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40927.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"}]}