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

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-14T21:42:44.202Z
- Modified: 2026-07-24T22:10:00.140Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- docmost docmost: < 0.71.0; before 0.71.0

## References

- <https://github.com/docmost/docmost/security/advisories/GHSA-cf68-cff9-hq4w> (exploit, vendor-advisory)

## Sources

- CVE List: [CVE-2026-34212](https://www.cve.org/CVERecord?id=CVE-2026-34212), CVE Terms of Use, modified 2026-04-15
- NVD: [CVE-2026-34212](https://nvd.nist.gov/vuln/detail/CVE-2026-34212), Public domain, modified 2026-07-24

---

Page: https://cve.day/CVE-2026-34212 · Whole record: https://cve.day/CVE-2026-34212.json · Rebuilt by cve.day 2026-11-25T22:59:18.796Z
