8.1high
XSS vector in slide mode speaker-view
- Severity
- 8.1high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.60% (higher than 50% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| hedgedoc hedgedoc | < 1.9.0, before 1.9.0 | CVE List, NVD |
All scores
| GitHub_M | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 4.3medium CVSS:2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Classification
What each source says
CVE List
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.
NVD (es)
HedgeDoc es una plataforma para escribir y compartir markdown. En versiones anteriores a1.9.0, un atacante no autenticado puede inyectar JavaScript arbitrario en las notas de los oradores de la función de modo de diapositivas al insertar un iframe que aloje el código malicioso en las diapositivas o al insertar la instancia de HedgeDoc en otra página. El problema está parcheado en versión 1.9.0. No se conocen soluciones aparte de la actualización.
References
| https://github.com/hedgedoc/hedgedoc/security/advisories/GHSA-j748-779h-9697 | patch, third-party-advisory | |
| https://github.com/hedgedoc/hedgedoc/pull/1369 | patch, third-party-advisory | |
| https://github.com/hedgedoc/hedgedoc/pull/1375 | patch, third-party-advisory | |
| https://github.com/hedgedoc/hedgedoc/pull/1513 | patch, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-39175 changed 2024-08-04 | CVE Terms of Use |
| NVD | CVE-2021-39175 changed 2026-06-17 | Public domain |