What’s Vulnerable › Vulnerabilities
CVE-2026-25642: HedgeDoc security headers for uploaded files were not working
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-02-06 · updated 2026-06-17
- Weakness: CWE-79
Description
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.
Affected products
- hedgedoc: before 1.10.6 — fixed in 1.10.6
How to fix
Upgrade to a fixed version: hedgedoc 1.10.6. Check the vendor advisory for mitigations.
References
- https://github.com/hedgedoc/hedgedoc/commit/74daa0e7a1cbfafd9aeb255eaf064dfe47cd401c
- https://github.com/hedgedoc/hedgedoc/commit/b930fe04cee92cd4723044030bb59c36781c7137
- https://github.com/hedgedoc/hedgedoc/releases/tag/1.10.6
- https://github.com/hedgedoc/hedgedoc/security/advisories/GHSA-x74j-jmf9-534w
Get alerted when CVE-2026-25642 or the next vulnerability affects your stack