CVEvulnerability
CVE-2024-38354
6.1 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2024-07-10
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 8.1 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
- CVSS 3.1 ([email protected])
- 6.1 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
Description
CodiMD allows realtime collaborative markdown notes on all platforms. The notebook feature of Hackmd.io permits the rendering of iframe `HTML` tags with an improperly sanitized `name` attribute. This vulnerability enables attackers to perform cross-site scripting (XSS) attacks via DOM clobbering. This vulnerability is fixed in 2.5.4.
Affected configurations
• hackmd codimd (< 2.5.4)
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://github.com/hackmdio/codimd/security/advisories/GHSA-22jv-vch8-2vp9 Exploit, Vendor Advisory
- https://github.com/hackmdio/codimd/security/advisories/GHSA-22jv-vch8-2vp9 Exploit, Vendor Advisory