CVE-2020-26287: Stored XSS in mermaid diagrams
Affected: hedgedoc · Exploitation: possible (1 to 10%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 74% of scored CVEs
DescriptionCVE.org
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.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- hedgedoc · hedgedoc< 1.7.1
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Possible (1 to 10%). EPSS between 1% and 10%.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Weakness
- Cross-site Scripting
- Vendor
- hedgedoc
- Published
- December 2020
CoverageNo articles yet
No CyberSIXT article names CVE-2020-26287 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-79cwe.mitre.org
- github.com/hedgedoc/hedgedoc/releases/tag/1.7.1github.com
- github.com/hedgedoc/hedgedoc/security/advisories/GHSA-g6w6-7xf9-github.com
- github.com/hackmdio/codimd/issues/1630github.com
- github.com/Alemmi/ctf-writeups/blob/main/hxpctf-2020/hackme/solugithub.com
- github.com/hedgedoc/hedgedoc/commit/58276ebbf4504a682454a3686dcagithub.com