CodiMD through 2.2.0 has a CSP-based protection mechanism against XSS through uploaded JavaScript content, but it can be bypassed by uploading a .html file that references an uploaded .js file.
CVSS 3.1MEDIUM 4.9·Network·Low privileges·No interaction·EPSS 0.00263·Published 2025-04-26·Fixed in 2.2.1CWE-424
CodiMD 1.3.1, when Safari is used, allows XSS via an IFRAME element with allow-top-navigation in the sandbox attribute, in conjunction with a data: URL.