CVE-2026-34212: Docmost page content has stored XSS via unsanitized attachment URLs

Published Apr 14, 2026
·
Updated

Docmost is open-source collaborative wiki and documentation software. In versions prior to 0.71.0, improper neutralization of attachment URLs in Docmost allows a low-privileged authenticated user to store a malicious javascript: URL inside an attachment node in page content. When another user views the page and activates the attachment link/icon, attacker-controlled JavaScript executes in the context of the Docmost origin. Version 0.71.0 patches the issue.

Affected Software

2 affected components
docmost docmost<0.71.0
docmost docmost<0.71.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Docmost to a version that resolves this vulnerability.

    Fixed in 0.71.0

Event History

Apr 14, 2026
CVE Published
via MITRE·09:42 PM
Data Sourced
via MITRE·09:42 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:16 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-34212?

CVE-2026-34212 is a high-severity vulnerability that allows stored cross-site scripting (XSS) due to unsanitized attachment URLs.

2

How do I fix CVE-2026-34212?

To fix CVE-2026-34212, upgrade to Docmost version 0.71.0 or later, which addresses the unsanitized attachment URL vulnerability.

3

Who is affected by CVE-2026-34212?

CVE-2026-34212 affects all users of Docmost versions prior to 0.71.0.

4

What type of vulnerability is CVE-2026-34212?

CVE-2026-34212 is categorized as a stored cross-site scripting (XSS) vulnerability.

5

How can an attacker exploit CVE-2026-34212?

An attacker can exploit CVE-2026-34212 by storing a malicious JavaScript payload in an attachment URL, which is then executed in the browser of anyone accessing the content.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203