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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.1
- **CVSS:** 6.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Changed (impact reaches other components); Confidentiality impact: Low; Integrity impact: Low; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.39% (percentile 25, 2026-11-26)
- **CWE:** CWE-79
- **Published:** 2026-09-24T18:00:32.245Z
- **Modified:** 2026-09-30T19:57:08.043Z

## Who should check

- Anyone running Foundry376 Mailspring \< 1.17.0

## 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 and fixed versions

- Foundry376 Mailspring: \< 1.17.0 (cvelist)

## Mitigation

- Upgrade Mailspring to 1.17.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-93405. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-93405.md
Affected: Foundry376 Mailspring < 1.17.0
Fixed in: Foundry376 Mailspring 1.17.0

Steps:
1. Search this machine and project for Foundry376 Mailspring: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-93405 being exploited?

There is no confirmed exploitation: CVE-2026-93405 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.39% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-93405?

Medium: CVSS 6.1 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-93405?

Foundry376 Mailspring \< 1.17.0.

### Is there a fix for CVE-2026-93405?

Yes. Fixed in Foundry376 Mailspring 1.17.0. Upgrade Mailspring to 1.17.0 or later.

### How do I check if I'm affected by CVE-2026-93405?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-93405>

HTML: <https://flawdb.com/CVE-2026-93405> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-93405>
