CVE-2026-59994

EspoCRM: Pre-authentication stored HTML injection in stream notification emails about email received

Published Oct 15, 2026 CVSS 3.1 · 4.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

EspoCRM allows the plain‑text body of an incoming email to contain arbitrary HTML. Prior to version 9.3.9 this body is later embedded directly into stream notification emails without escaping, creating a stored HTML injection (CWE‑79). An unauthenticated remote actor can craft an email to a monitored group or IMAP address, inject malicious HTML or JavaScript, and that code will be delivered to users in notification mails that sandboxed mail clients might execute. The impact is the potential compromise of user sessions and confidentiality when the client renders the injected content.

Affected Systems

The vulnerability affects EspoCRM installations running any version older than 9.3.9. The fix was introduced in release 9.3.9 and later versions; earlier releases are susceptible.

Risk and Exploitability

The CVSS base score is 4.3, reflecting moderate severity. EPSS is <1%, indicating a very low likelihood of exploitation. The issue is not listed in the CISA KEV catalog. An attacker needs only to send a specially crafted email to a monitored group or IMAP address that EspoCRM watches; no authentication or privilege escalation is required. The risk is confined to environments where recipients use mail clients that execute embedded HTML/JavaScript, as only then does the injected code run.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade EspoCRM to version 9.3.9 or later to apply the official patch that sanitizes email bodies before use in notifications.
  • Temporarily disable or limit the email‑to‑Case feature and any monitored groups that can receive external mail until the upgrade is completed, preventing injection of malicious content.
  • Configure mail clients to disallow automatic execution of HTML or JavaScript in incoming messages, ensuring that even if injected code reaches a notification, it will not be executed; additionally, consider configuring server‑side email processing to strip or escape HTML before rendering.

Generated by OpenCVE AI on October 16, 2026 at 20:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Espocrm
Espocrm espocrm
Vendors & Products Espocrm
Espocrm espocrm
Type Values Removed Values Added
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.
Title EspoCRM: Pre-authentication stored HTML injection in stream notification emails about email received
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 20, 2026, 2:41 AM
Reserved
Jul 7, 2026, 7:41 PM
Status
Deferred
Published
Oct 15, 2026, 3:17 PM
Modified
Oct 20, 2026, 3:17 AM