CVE-2021-39175 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/hedgedoc/hedgedoc/pull/1369 | CVE | PatchThird Party Advisory |
| https://github.com/hedgedoc/hedgedoc/pull/1375 | CVE | PatchThird Party Advisory |
| https://github.com/hedgedoc/hedgedoc/pull/1513 | CVE | PatchThird Party Advisory |
| https://github.com/hedgedoc/hedgedoc/security/advisories/GHSA-j748-779h-9697 | CVE | PatchThird Party Advisory |
| https://github.com/hedgedoc/hedgedoc/pull/1369 | [email protected] | PatchThird Party Advisory |
| https://github.com/hedgedoc/hedgedoc/pull/1375 | [email protected] | PatchThird Party Advisory |
| https://github.com/hedgedoc/hedgedoc/pull/1513 | [email protected] | PatchThird Party Advisory |
| https://github.com/hedgedoc/hedgedoc/security/advisories/GHSA-j748-779h-9697 | [email protected] | PatchThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-346 | Origin Validation Error | [email protected] |
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| hedgedoc hedgedoc | < 1.9.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Oct 25, 2022 | Reanalysis | [email protected] |
| Sep 8, 2021 | Initial Analysis | [email protected] |