CVE-2024-38354
JSON

8.1high

Cross-site Scripting in Hackmd.io Notes lead by HTML Injection

Severity
8.1high CVSS:3.1 by GitHub_M
Exploit likelihood
0.42% (higher than 38% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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

Product or packageVersionsReported by
hackmdio codimd< 2.5.4CVE List
hackmd codimdbefore 2.5.4CVE List, NVD

All scores

GitHub_M8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
NVD6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

CodiMD permite notas de markdown colaborativas en tiempo real en todas las plataformas. La función de cuaderno de Hackmd.io permite la representación de etiquetas "HTML" de iframe con un atributo "name" incorrectamente sanitizado. Esta vulnerabilidad permite a los atacantes realizar ataques de cross-site scripting (XSS) mediante destrucción de DOM. Esta vulnerabilidad se solucionó en 2.5.4.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-38354 changed 2024-08-02CVE Terms of Use
NVDCVE-2024-38354 changed 2026-06-17Public domain