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

- Severity: Medium 4.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2026-02-06T19:23:59.991Z
- Modified: 2026-06-17T10:25:00.107Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- hedgedoc hedgedoc: < 1.10.6; before 1.10.6

## Every score

- GitHub_M: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/hedgedoc/hedgedoc/security/advisories/GHSA-x74j-jmf9-534w> (patch, vendor-advisory)
- <https://github.com/hedgedoc/hedgedoc/commit/74daa0e7a1cbfafd9aeb255eaf064dfe47cd401c> (patch)
- <https://github.com/hedgedoc/hedgedoc/commit/b930fe04cee92cd4723044030bb59c36781c7137> (patch)
- <https://github.com/hedgedoc/hedgedoc/releases/tag/1.10.6> (product, release-notes)

## Sources

- CVE List: [CVE-2026-25642](https://www.cve.org/CVERecord?id=CVE-2026-25642), CVE Terms of Use, modified 2026-02-06
- NVD: [CVE-2026-25642](https://nvd.nist.gov/vuln/detail/CVE-2026-25642), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-25642 · Whole record: https://cve.day/CVE-2026-25642.json · Rebuilt by cve.day 2026-11-25T22:59:13.574Z
