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

Published Aug 30, 2021
·
Updated

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

1 affected component
HedgeDoc HedgeDoc<1.9.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade HedgeDoc to a version that resolves this vulnerability.

    Fixed in 1.9.0

Event History

Aug 30, 2021
CVE Published
via MITRE·08:40 PM
Data Sourced
via MITRE·08:40 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

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.

2

How do I fix CVE-2021-39175?

To fix CVE-2021-39175, upgrade HedgeDoc to version 1.9.0 or higher.

3

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.

4

Which versions of HedgeDoc are affected by CVE-2021-39175?

Versions of HedgeDoc prior to 1.9.0 are affected by CVE-2021-39175.

5

Who can exploit CVE-2021-39175?

An unauthenticated attacker can exploit CVE-2021-39175 to execute arbitrary JavaScript.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203