XSS in Hedgedoc
CVE-2026-25642
HedgeDoc is an open source, real-time, collaborative, markdown notes application. Prior to 1.10.6, files served below the /uploads/ endpoint did not use a more strict security-policy. This resulted in a too open Content-Security-Policy and furthermore opened the possibility to host malicious interactive web content (such as fake login forms) using SVG files. This vulnerability is fixed in 1.10.6.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N.
EPSS exploit prediction
EPSS: 0.004 (27.1th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 27th percentile — 27.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.004 · change: +0.002
Affected products
- Hedgedoc — versions < 1.10.6
Weakness classification (CWE)
References
- github.com/hedgedoc/hedgedoc/security/advisories/GHSA-x74j-jmf9-534w (Patch, Vendor Advisory)
- github.com/hedgedoc/hedgedoc/commit/74daa0e7a1cbfafd9aeb255eaf064dfe47cd401c (Patch)
- github.com/hedgedoc/hedgedoc/commit/b930fe04cee92cd4723044030bb59c36781c7137 (Patch)
- github.com/hedgedoc/hedgedoc/releases/tag/1.10.6 (Product, Release Notes)
Frequently asked questions
- What is CVE-2026-25642?
- CVE-2026-25642 is a medium-severity vulnerability in Hedgedoc, classified under Cross-site Scripting. CVSS score: 4.3/10. Published 2026-02-06.
- How severe is CVE-2026-25642?
- Medium severity. CVSS v3 base score is 4.3 out of 10.