Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Hedgedoc | Hedgedoc | < 1.7.1 |
Related Weaknesses (CWE)
References
- https://github.com/hedgedoc/hedgedoc/commit/e9306991cdb5ff2752c1eeba3fedba42aec3PatchThird Party Advisory
- https://github.com/hedgedoc/hedgedoc/releases/tag/1.7.1Third Party Advisory
- https://github.com/hedgedoc/hedgedoc/security/advisories/GHSA-wcr3-xhv7-8gxcThird Party Advisory
- https://github.com/hedgedoc/hedgedoc/commit/e9306991cdb5ff2752c1eeba3fedba42aec3PatchThird Party Advisory
- https://github.com/hedgedoc/hedgedoc/releases/tag/1.7.1Third Party Advisory
- https://github.com/hedgedoc/hedgedoc/security/advisories/GHSA-wcr3-xhv7-8gxcThird Party Advisory
FAQ
What is CVE-2020-26286?
CVE-2020-26286 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 H...
How severe is CVE-2020-26286?
CVE-2020-26286 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2020-26286?
Check the references section above for vendor advisories and patch information. Affected products include: Hedgedoc Hedgedoc.