CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2020 · Hedgedoc

CVE-2020-26286
Hedgedoc vulnerability

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 products

Hedgedoc. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Hedgedoc runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Hedgedoc products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.