CVE-2026-34212

Source
https://cve.org/CVERecord?id=CVE-2026-34212
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-34212.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-34212
Aliases
  • GHSA-cf68-cff9-hq4w
Published
2026-04-14T21:42:44.202Z
Modified
2026-07-15T01:48:50.171721563Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Docmost page content has stored XSS via unsanitized attachment URLs
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34212.json",
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/docmost/docmost

Affected ranges

Type
GIT
Repo
https://github.com/docmost/docmost
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "cpe": "cpe:2.3:a:docmost:docmost:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "0.71.0"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "CPE_RANGE"
    ]
}

Affected versions

0.*
0.2.3
v0.*
v0.10.0
v0.10.1
v0.10.2
v0.2.0
v0.2.1
v0.2.10
v0.2.2
v0.2.4
v0.2.5
v0.2.7
v0.2.8
v0.2.9
v0.20.0
v0.20.1
v0.20.2
v0.20.3
v0.20.4
v0.21.0
v0.22.0
v0.22.1
v0.22.2
v0.23.0
v0.23.1
v0.23.2
v0.24.0
v0.24.1
v0.25.0
v0.25.0-beta.1
v0.25.1
v0.25.2
v0.25.3
v0.3.0
v0.3.1
v0.4.0
v0.4.1
v0.5.0
v0.6.0
v0.6.1
v0.6.2
v0.7.0
v0.70.0
v0.70.1
v0.70.2
v0.70.3
v0.8.0
v0.8.1
v0.8.2
v0.8.3
v0.8.4
v0.9.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-34212.json"