CVE-2026-25642: HedgeDoc security headers for uploaded files were not working
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 Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2026-25642?
CVE-2026-25642 is classified as a medium severity vulnerability due to its impact on file security policies.
How do I fix CVE-2026-25642?
To fix CVE-2026-25642, upgrade HedgeDoc to version 1.10.6 or later.
What specific issue does CVE-2026-25642 address?
CVE-2026-25642 addresses inadequate security headers for uploaded files in HedgeDoc before version 1.10.6.
What versions of HedgeDoc are affected by CVE-2026-25642?
All versions of HedgeDoc prior to 1.10.6 are affected by CVE-2026-25642.
Can CVE-2026-25642 lead to security breaches?
Yes, CVE-2026-25642 can potentially lead to security breaches if the improper security policy allows malicious file uploads.