CVE-2021-39175
8.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Summary
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
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| hedgedoc | hedgedoc | < 1.9.0 | affected |
Weaknesses
- CWE-74: CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
- CWE-346: CWE-346: Origin Validation Error
ADP Enrichment
CVE Program Container
Additional References
- https://github.com/hedgedoc/hedgedoc/security/advisories/GHSA-j748-779h-9697
- https://github.com/hedgedoc/hedgedoc/pull/1369
- https://github.com/hedgedoc/hedgedoc/pull/1375
- https://github.com/hedgedoc/hedgedoc/pull/1513
References
- https://github.com/hedgedoc/hedgedoc/security/advisories/GHSA-j748-779h-9697
- https://github.com/hedgedoc/hedgedoc/pull/1369
- https://github.com/hedgedoc/hedgedoc/pull/1375
- https://github.com/hedgedoc/hedgedoc/pull/1513
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.