CVE-2026-55154

EspoCRM: CSV/Formula Injection sanitizer bypass via leading whitespace/control characters in export

Published Oct 15, 2026 CVSS 3.1 · 5.4 Medium EPSS < 1% KEV · Not listed
Description
EspoCRM is an open source customer relationship management application. Prior to 9.3.9, application/Espo/Tools/Export/Format/Csv/Processor.php, application/Espo/Tools/Export/Format/Xlsx/OpenSpoutProcessor.php, and application/Espo/Tools/Export/Format/Xlsx/PhpSpreadsheetProcessor.php inspect only the first byte in sanitizeCellValue(). An authenticated low-privileged user can store a free-text value whose formula trigger is preceded by whitespace or a control character, causing CSV or XLSX export to omit the leading single-quote formula-neutralization prefix. When a privileged user opens the exported file and accepts applicable spreadsheet security prompts, spreadsheet software can ignore the whitespace or control-character prefix and evaluate the cell as a formula, permitting outbound data disclosure and, on legacy configurations with DDE enabled, command execution. This issue is fixed in version 9.3.9.

Analysis

AI-generated

Technical impact

EspoCRM’s export modules for CSV and XLSX only examine the first byte of cell content during sanitization. When a formula trigger is preceded by whitespace or a control character, the leading single‑quote that normally neutralizes spreadsheet formulas is omitted in the exported file. As a result, if a privileged user opens the file and accepts spreadsheet security prompts, the software can evaluate the cell as a formula, exposing outbound data. In legacy configurations where Dynamic Data Exchange (DDE) is enabled, the formula can also trigger arbitrary command execution.

Affected Systems

The vulnerability affects EspoCRM deployments running any version prior to 9.3.9. The issue is documented for the exports spoken by application/Espo/Tools/Export/Format/Csv/Processor.php, application/Espo/Tools/Export/Format/Xlsx/OpenSpoutProcessor.php, and application/Espo/Tools/Export/Format/Xlsx/PhpSpreadsheetProcessor.php. Users running version 9.3.9 or later have the issue fixed.

Risk and Exploitability

The CVSS score of 5.4 indicates a moderate severity, with an EPSS score of less than 1% suggesting a low probability of exploitation in the current environment. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires an attacker to be able to submit a crafted free‑text value as a low‑privileged user and then convince a privileged user to export and open the resulting spreadsheet. Spreadsheet software must accept security prompts and interpret the leading whitespace or control character, which is typically a deliberate interaction step. The overall risk is therefore moderate, contingent on the presence of privileged users who may act on exported files that contain malicious worksheet content.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade EspoCRM to version 9.3.9 or later, which patches the sanitizer bypass
  • Restrict export permissions to trusted users or disable export functionality for low‑privileged accounts
  • Disable DDE or other external data connections in spreadsheet applications used to open exported files
  • Audit spreadsheet security prompts and ensure users do not automatically accept formula execution when opening files from the application

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
First Time appeared Espocrm
Espocrm espocrm
Vendors & Products Espocrm
Espocrm espocrm
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description EspoCRM is an open source customer relationship management application. Prior to 9.3.9, application/Espo/Tools/Export/Format/Csv/Processor.php, application/Espo/Tools/Export/Format/Xlsx/OpenSpoutProcessor.php, and application/Espo/Tools/Export/Format/Xlsx/PhpSpreadsheetProcessor.php inspect only the first byte in sanitizeCellValue(). An authenticated low-privileged user can store a free-text value whose formula trigger is preceded by whitespace or a control character, causing CSV or XLSX export to omit the leading single-quote formula-neutralization prefix. When a privileged user opens the exported file and accepts applicable spreadsheet security prompts, spreadsheet software can ignore the whitespace or control-character prefix and evaluate the cell as a formula, permitting outbound data disclosure and, on legacy configurations with DDE enabled, command execution. This issue is fixed in version 9.3.9.
Title EspoCRM: CSV/Formula Injection sanitizer bypass via leading whitespace/control characters in export
Weaknesses CWE-1236
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-1236

    Improper Neutralization of Formula Elements in a CSV File

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 16, 2026, 5:13 PM
Reserved
Jun 16, 2026, 3:13 PM
Status
Deferred
Published
Oct 15, 2026, 3:17 PM
Modified
Oct 16, 2026, 6:17 PM