HIGH🇬🇧 English

CVE-2020-26287

CVSS 8.7v3.1pub. 2020-12-29upd. 2024-11-21

HedgeDoc is a collaborative platform for writing and sharing markdown. In HedgeDoc before version 1.7.1 an attacker can inject arbitrary `script` tags in HedgeDoc notes using mermaid diagrams. Our content security policy prevents loading scripts from most locations, but `www.google-analytics.com` is allowed. Using Google Tag Manger it is possible to inject arbitrary JavaScript and execute it on page load. Depending on the configuration of the instance, the attacker may not need authentication to create or edit notes. The problem is patched in HedgeDoc 1.7.1. As a workaround one can disallow `www.google-analytics.com` in the `Content-Security-Policy` header. Note that other ways to leverage the `script` tag injection might exist.

oryginał EN
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
  • Hedgedoc

    APP
    Hedgedoc
    < 1.7.1
🔵
ZWERYFIKUJ U PRODUCENTA
Brak jednoznacznych danych o patchu. Sprawdź referencje od producenta.
Tagi
XSS
CWE
Referencje

Powiązane podatności

CVE-2021-29475CRITICAL10.0ten sam produkt

HedgeDoc (formerly known as CodiMD) is an open-source collaborative markdown editor. An attacker is able to re...

CVE-2021-39175HIGH8.1ten sam produkt

HedgeDoc is a platform to write and share markdown. In versions prior to 1.9.0, an unauthenticated attacker ca...

CVE-2021-29503HIGH8.1ten sam produkt

HedgeDoc is a platform to write and share markdown. HedgeDoc before version 1.8.2 is vulnerable to a cross-sit...

CVE-2021-21259HIGH7.4ten sam produkt

HedgeDoc is open source software which lets you create real-time collaborative markdown notes. In HedgeDoc bef...

CVE-2020-26286HIGH7.5ten sam produkt

HedgeDoc is a collaborative platform for writing and sharing markdown. In HedgeDoc before version 1.7.1 an una...