CVE-2026-25642
JSON

4.3medium

HedgeDoc security headers for uploaded files were not working

Severity
4.3medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.24% (higher than 15% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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

Product or packageVersionsReported by
hedgedoc hedgedoc< 1.10.6, before 1.10.6CVE List, NVD

All scores

GitHub_M4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
NVD6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

HedgeDoc es una aplicación de notas markdown de código abierto, en tiempo real y colaborativa. Antes de la versión 1.10.6, los archivos servidos bajo el endpoint /uploads/ no utilizaban una política de seguridad más estricta. Esto resultó en una Content-Security-Policy demasiado abierta y además abrió la posibilidad de alojar contenido web interactivo malicioso (como formularios de inicio de sesión falsos) utilizando archivos SVG. Esta vulnerabilidad está corregida en la versión 1.10.6.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-25642 changed 2026-02-06CVE Terms of Use
NVDCVE-2026-25642 changed 2026-06-17Public domain