# CVE-2021-39175: XSS vector in slide mode speaker-view

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.60%, higher than 50% of CVEs (2026-12-01)
- Published: 2021-08-30T20:40:13.000Z
- Modified: 2026-06-17T04:03:15.027Z
- Weaknesses: CWE-74, CWE-79, CWE-346
- 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.

(As written by CVE List.)

## Affected

- hedgedoc hedgedoc: < 1.9.0; before 1.9.0

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A: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

- CVE List: [CVE-2021-39175](https://www.cve.org/CVERecord?id=CVE-2021-39175), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-39175](https://nvd.nist.gov/vuln/detail/CVE-2021-39175), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-39175 · Whole record: https://cve.day/CVE-2021-39175.json · Rebuilt by cve.day 2026-11-25T22:58:03.563Z
