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.
Conclusion & alert: CVE-2020-26287 is rated High Exploit Risk (75.1/100): CVSS High severity, with medium exploitation likelihood (EPSS 1.45%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.55% | 1.45% | +0.90% |
| 2 | 2025-03-30 | 0.85% | 0.55% | -0.31% |
| 3 | 2025-03-29 | — | 0.85% | — |
Full EPSS history (11 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 8.7 | 3.1 | HIGH |
|
2.3 | 5.8 | [email protected] |
| 8.7 | 3.1 | HIGH |
|
2.3 | 5.8 | [email protected] |
| 4.3 | 2.0 | MEDIUM |
|
8.6 | 2.9 | [email protected] |
| URL | Tags |
|---|---|
| https://github.com/Alemmi/ctf-writeups/blob/main/hxpctf-2020/hackme/solution.md | Exploit Third Party Advisory |
| https://github.com/hackmdio/codimd/issues/1630 | Third Party Advisory |
| https://github.com/hedgedoc/hedgedoc/commit/58276ebbf4504a682454a3686dcaff88bc1069d4 | Patch Third Party Advisory |
| https://github.com/hedgedoc/hedgedoc/releases/tag/1.7.1 | Third Party Advisory |
| https://github.com/hedgedoc/hedgedoc/security/advisories/GHSA-g6w6-7xf9-m95p | Third Party Advisory |