CodiMD through 2.5.4 has a CSP-based protection mechanism against XSS through uploaded…
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
CodiMD through 2.5.4 has a CSP-based protection mechanism against XSS through uploaded SVG documents containing JavaScript, but it can be bypassed in certain cases of different-origin file storage, such as AWS S3. NOTE: it can be considered a user error if AWS is employed for hosting untrusted JavaScript content, but the selected architecture within AWS does not have components that are able to insert Content-Security-Policy headers.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2025-46655
- 2026-10-03 Alias added: GHSA-64gv-p96g-gqxj
References
More HackMD vulnerabilities
- TI-2024-25612 Cross-site Scripting in Hackmd.io Notes lead by HTML Injection CVSS 3.1HIGH 8.1
- TI-2024-25611 CodiMD - Missing Image Access Controls and Unauthorized Image Access CVSS 3.1MEDIUM 5.3
- TI-2025-29349 CodiMD through 2.2.0 has a CSP-based protection mechanism against XSS through uploaded… CVSS 3.1MEDIUM 4.9
- TI-2024-15132 HackMD CodiMD <2.5.2 is vulnerable to Denial of Service. CVSS 3.1HIGH 7.5
- TI-2019-11602 CodiMD 1.3.1, when Safari is used, allows XSS via an IFRAME element with… CVSS 3.1MEDIUM 6.1
Sources
- CVE-2025-46655 · CVE Program
- CVE-2025-46655 · NVD
- FIRST EPSS
- GHSA-64gv-p96g-gqxj · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences