CVE-2026-25642
published medium CVSS 3.1 · 4.3HedgeDoc security headers for uploaded files were not working
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| hedgedoc | — | hedgedoc< 1.10.6 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| hedgedoc | hedgedoc | < 1.10.6 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
4- https://github.com/hedgedoc/hedgedoc/commit/74daa0e7a1cbfafd9aeb255eaf064dfe47cd401c
- https://github.com/hedgedoc/hedgedoc/commit/b930fe04cee92cd4723044030bb59c36781c7137
- https://github.com/hedgedoc/hedgedoc/releases/tag/1.10.6
- https://github.com/hedgedoc/hedgedoc/security/advisories/GHSA-x74j-jmf9-534w
Provider assertions
2GitHub_M · cna
HedgeDoc security headers for uploaded files were not working
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7fe057c0b2c08ed9b531115dfb6b5e85315a015f3cbcff252a83d3f60f738c80
- Ingested
- 23 Sep 2026, 09:07:08 UTC
- Source record
- Official CVE record