Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2020-26287

8.7 · HIGH
Published Dec 29, 2020 hedgedoc CWE-79 EPSS 1.45% (71th pctl)

Overview

CVE-2020-26287 is a high-severity vulnerability affecting hedgedoc hedgedoc. It was published on December 29, 2020 and has a CVSS 3.1 base score of 8.7 (HIGH).

This vulnerability has a CVSS 3.1 base score of 8.7, rated HIGH. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical Description

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.

Remediation

Check the references section for vendor advisories and patches from hedgedoc. Update hedgedoc to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
hedgedoc hedgedoc >= 0, < 1.7.1 Affected

Frequently Asked Questions

What is CVE-2020-26287?

CVE-2020-26287 is a high-severity vulnerability affecting hedgedoc hedgedoc. It was published on December 29, 2020 and has a CVSS 3.1 base score of 8.7 (HIGH).

How severe is CVE-2020-26287?

This vulnerability has a CVSS 3.1 base score of 8.7, rated HIGH. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2020-26287?

Check the references section for vendor advisories and patches from hedgedoc. Update hedgedoc to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2020-26287?

CyberStrike's AI-powered security agents can automatically detect CVE-2020-26287 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.