CVE-2021-29503
CVSS V2 Medium 4.3
CVSS V3 Medium 6.1
Description
HedgeDoc is a platform to write and share markdown. HedgeDoc before version 1.8.2 is vulnerable to a cross-site scripting attack using the YAML-metadata of a note. An attacker with write access to a note can embed HTML tags in the Open Graph metadata section of the note, resulting in the frontend rendering the script tag as part of the `<head>` section. Unless your instance prevents guests from editing notes, this vulnerability allows unauthenticated attackers to inject JavaScript into notes that allow guest edits. If your instance prevents guests from editing notes, this vulnerability allows authenticated attackers to inject JavaScript into any note pages they have write-access to. This vulnerability is patched in version 1.8.2. As a workaround, one can disable guest edits until the next update.
Overview
- CVE ID
- CVE-2021-29503
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2021-05-19T20:15:07
- Last Modified Date
- 2022-04-25T20:09:54
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:hedgedoc:hedgedoc:*:*:*:*:*:*:*:* | 1 | OR | 1.8.2 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:M/Au:N/C:N/I:P/A:N
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- NONE
- Confidentiality Impact
- NONE
- Integrity Impact
- PARTIAL
- Availability Impact
- NONE
- Base Score
- 4.3
- Severity
- MEDIUM
- Exploitability Score
- 8.6
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- REQUIRED
- Scope
- CHANGED
- Confidentiality Impact
- LOW
- Availability Impact
- NONE
- Base Score
- 6.1
- Base Severity
- MEDIUM
- Exploitability Score
- 2.8
- Impact Score
- 2.7
References
Reference URL | Reference Tags |
---|---|
https://github.com/hedgedoc/hedgedoc/commit/01dad5821ee28377ebe640c6c72c3e0bb0d51ea7 | Patch Third Party Advisory |
https://github.com/hedgedoc/hedgedoc/security/advisories/GHSA-gjg7-4j2h-94fq | Patch Third Party Advisory |
https://github.com/hedgedoc/hedgedoc/releases/tag/1.8.2 | Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-29503 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29503 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 06:26:40 | Added to TrackCVE | |||
2022-12-05 02:39:12 | 2021-05-19T20:15Z | 2021-05-19T20:15:07 | CVE Published Date | updated |
2022-12-05 02:39:12 | 2022-04-25T20:09:54 | CVE Modified Date | updated | |
2022-12-05 02:39:12 | Analyzed | Vulnerability Status | updated |