CVE-2024-38354: Hackmd Codimd

Medium severity, CVSS 6.1. EPSS: 0.4% chance of exploitation in the next 30 days.

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 products

  • Hackmd Codimd: before 2.5.4 (fixed in 2.5.4)

Published 2024-07-10. Last modified 2026-06-17.