6.1medium
Mailspring: Stored XSS in attachment quick preview (unsanitized Markdown/DOCX/XLSX conversion)
- Severity
- 6.1medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.39% (higher than 25% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
Mailspring is a fast, cross-platform, open-source email client. Prior to 1.17.0, attachment quick preview converts Markdown, DOCX, and XLSX attachments with Snarkdown, Mammoth, and SheetJS and inserts the resulting HTML into the preview document through innerHTML without sanitization. A remote sender can craft a supported attachment whose converted HTML executes script when a recipient opens quick preview. The preview renderer has no direct Node or Electron access, but injected script can reach the IPC surface exposed to the quick-preview renderer. This issue alone provides script execution in the preview renderer; separate path-traversal and renderer-controlled file-write vulnerabilities are required for the documented persistent code-execution chain. This issue is fixed in version 1.17.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Foundry376 Mailspring | < 1.17.0 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-93405 changed 2026-09-29 | CVE Terms of Use |
| NVD | CVE-2026-93405 changed 2026-09-30 | Public domain |