XSS in Hedgedoc
CVE-2021-39175
HedgeDoc is a platform to write and share markdown. In versions prior to 1.9.0, an unauthenticated attacker can inject arbitrary JavaScript into the speaker-notes of the slide-mode feature by embedding an iframe hosting the malicious code into the slides or by embedding the HedgeDoc instance into another page. The problem is patched in version 1.9.0. There are no known workarounds aside from upgrading.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.006, 49.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Hedgedoc — versions < 1.9.0
Weakness classification (CWE)
References
- github.com/hedgedoc/hedgedoc/security/advisories/GHSA-j748-779h-9697 (Patch, Third Party Advisory)
- github.com/hedgedoc/hedgedoc/pull/1369 (Patch, Third Party Advisory)
- github.com/hedgedoc/hedgedoc/pull/1375 (Patch, Third Party Advisory)
- github.com/hedgedoc/hedgedoc/pull/1513 (Patch, Third Party Advisory)