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

High 7.3 Published Updated

Attackers can execute arbitrary JavaScript in users' browsers via stored XSS in Docmost public share pages, potentially leading to account takeover.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-24045?

CVE-2026-24045 is a high-severity cross-site scripting vulnerability in docmost, published on 10 Feb 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-79

Which versions are affected by CVE-2026-24045?

It affects 1 product.

Products include Docmost Docmost.

How do I fix CVE-2026-24045?

No fix has been published for CVE-2026-24045 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-24045 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-24045 exists.

Sources

Also known as GHSA-h7fp-4f37-29wq.

Is CVE-2026-24045 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free