CVE-2020-26286
Last modified
CVE-2020-26286 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 1.42% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Hedgedoc | Hedgedoc | < 1.7.1 |
References
- https://github.com/hedgedoc/hedgedoc/commit/e9306991cdb5ff2752c1eeba3fedba42aec3c2d8Patch, Third 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/e9306991cdb5ff2752c1eeba3fedba42aec3c2d8Patch, Third 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
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2020-26286?
How severe is CVE-2020-26286?
How do I fix CVE-2020-26286?
Are you affected by CVE-2020-26286?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
