CVE-2020-26286
published high CVSS 3.1 · 7.5Arbitary file upload
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| hedgedoc | — | hedgedoc< 1.7.1 | Affected | Not stated | GitHub_M |
Description
HedgeDoc is a collaborative platform for writing and sharing markdown. In HedgeDoc before version 1.7.1 an unauthenticated attacker can upload arbitrary files to the upload storage backend including HTML, JS and PHP files. The problem is patched in HedgeDoc 1.7.1. You should however verify that your uploaded file storage only contains files that are allowed, as uploaded files might still be served. As workaround it's possible to block the `/uploadimage` endpoint on your instance using your reverse proxy. And/or restrict MIME-types and file names served from your upload file storage.
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
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| hedgedoc | hedgedoc | < 1.7.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-434 CWE-434 Unrestricted Upload of File with Dangerous Type
References
3Provider assertions
2GitHub_M · cna
Arbitary file upload
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- d2c972e1709671f59ff422e08c65a1dffb7ec35839d2c1a5eb4b75f1f039d253
- Ingested
- 23 Sep 2026, 07:49:46 UTC
- Source record
- Official CVE record