Medium severity · published Jul 10, 2024
CVE-2024-38354
Cross-site Scripting in Hackmd.io Notes lead by HTML Injection
6.1
CVSS
0.4%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 36% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CO
codimd · hackmdio
< 2.5.4 · source: vendor, NVD, CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-38354
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-38354
Exploit
https://github.com/hackmdio/codimd/security/advisories/GHSA-22jv-vch8-2vp9
More from codimd
5.3
CVE-2024-38353
CodiMD - Missing Image Access Controls and Unauthorized Image Access
