CVE-2020-26286: Arbitary file upload

Published Dec 28, 2020
·
Updated

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.

Affected Software

1 affected component
HedgeDoc HedgeDoc<1.7.1

Event History

Dec 28, 2020
CVE Published
via MITRE·11:25 PM
Data Sourced
via MITRE·11:25 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2020-26286?

CVE-2020-26286 has a critical severity level due to its potential for unauthenticated file uploads allowing arbitrary file execution.

2

How do I fix CVE-2020-26286?

To fix CVE-2020-26286, upgrade HedgeDoc to version 1.7.1 or later.

3

Who is affected by CVE-2020-26286?

CVE-2020-26286 affects all versions of HedgeDoc prior to 1.7.1.

4

What kind of files can be uploaded due to CVE-2020-26286?

CVE-2020-26286 allows the upload of arbitrary files including potentially malicious HTML, JS, and PHP files.

5

Is authentication required to exploit CVE-2020-26286?

No, CVE-2020-26286 can be exploited by unauthenticated attackers.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203