CVE-2021-39175: XSS vector in slide mode speaker-view
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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
HedgeDocto a version that resolves this vulnerability.Fixed in 1.9.0
Event History
Frequently Asked Questions
What is the severity of CVE-2021-39175?
CVE-2021-39175 has been classified with a medium severity due to the potential for unauthorized JavaScript execution.
How do I fix CVE-2021-39175?
To fix CVE-2021-39175, upgrade HedgeDoc to version 1.9.0 or higher.
What types of attacks are possible with CVE-2021-39175?
Attackers can inject arbitrary JavaScript through the speaker-notes of the slide-mode feature using iframes.
Which versions of HedgeDoc are affected by CVE-2021-39175?
Versions of HedgeDoc prior to 1.9.0 are affected by CVE-2021-39175.
Who can exploit CVE-2021-39175?
An unauthenticated attacker can exploit CVE-2021-39175 to execute arbitrary JavaScript.