CVE-2026-25642: HedgeDoc security headers for uploaded files were not working

Published Feb 6, 2026
·
Updated

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

2 affected components
HedgeDoc HedgeDoc<1.10.6
HedgeDoc HedgeDoc<1.10.6

Event History

Feb 6, 2026
CVE Published
via MITRE·07:23 PM
Data Sourced
via MITRE·07:23 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 23, 58126
Event
via FIRST·10:30 PM

Frequently Asked Questions

1

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.

2

How do I fix CVE-2026-25642?

To fix CVE-2026-25642, upgrade HedgeDoc to version 1.10.6 or later.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203