XSS in Hackmd Codimd
CVE-2024-38354
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS: 0.004 (34.1th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 34th percentile — 34.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: 0.000
Affected products
- Hackmd Codimd
- Hackmdio Codimd — versions < 2.5.4
Weakness classification (CWE)
References
- github.com/hackmdio/codimd/security/advisories/GHSA-22jv-vch8-2vp9 (Exploit, Vendor Advisory)
Frequently asked questions
- What is CVE-2024-38354?
- CVE-2024-38354 is a high-severity vulnerability in Hackmd Codimd, classified under Cross-site Scripting. CVSS score: 8.1/10. Published 2024-07-10.
- How severe is CVE-2024-38354?
- High severity. CVSS v3 base score is 8.1 out of 10.