CVE-2020-26286CWE-434

Arbitary file upload

High · published December 28, 2020

CVSS v3.1
7.5
EPSS
1%
Percentile
72.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.01437 · 72.9th percentile
Weakness
CWE-434 · Unrestricted Upload of File with Dangerous Type
Published
2020-12-28T23:25Z
EPSS history
Timeline
  • 28 DEC 23:25Z
    Arbitary file upload
    cvelistv5