CVE-2024-38354 Cross-site Scripting in Hackmd.io Notes lead by HTML Injection
MediumCVSS 6.1
EPSS 0.42%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| hackmd codimd | < 2.5.4 | 2.5.4 | Fixed |
| hackmdio codimd | = < 2.5.4 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| hackmdio codimd | = < 2.5.4 | No fix listed |
| hackmd codimd | < 2.5.4 | 2.5.4 |
References
- https://github.com/hackmdio/codimd/security/advisories/GHSA-22jv-vch8-2vp9 exploit vendor-advisory