# CVE-2026-93405: Mailspring: Stored XSS in attachment quick preview (unsanitized Markdown/DOCX/XLSX conversion)

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 25% of CVEs (2026-11-30)
- Published: 2026-09-24T18:00:32.245Z
- Modified: 2026-09-30T19:57:08.043Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Foundry376 Mailspring: < 1.17.0

## References

- <https://github.com/Foundry376/Mailspring/security/advisories/GHSA-px2g-jhg5-c6gh>
- <https://github.com/Foundry376/Mailspring/pull/2523>
- <https://github.com/Foundry376/Mailspring/commit/5728388199666ec0a9a58f693c89c25b948a9b6c>
- <https://github.com/Foundry376/Mailspring/releases/tag/1.17.0>

## Sources

- CVE List: [CVE-2026-93405](https://www.cve.org/CVERecord?id=CVE-2026-93405), CVE Terms of Use, modified 2026-09-29
- NVD: [CVE-2026-93405](https://nvd.nist.gov/vuln/detail/CVE-2026-93405), Public domain, modified 2026-09-30

---

Page: https://cve.day/CVE-2026-93405 · Whole record: https://cve.day/CVE-2026-93405.json · Rebuilt by cve.day 2026-11-25T22:59:40.889Z
