What’s Vulnerable › Vulnerabilities

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

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

How to fix

Upgrade to a fixed version: hedgedoc 1.10.6. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-25642 or the next vulnerability affects your stack