Description
Statamic is a Laravel and Git powered content management system (CMS). Prior to 5.73.24 and 6.20.1, form submission values in src/Forms/Exporters/CsvExporter.php were not neutralized for spreadsheet formula characters when exported to CSV. A submission containing a value beginning with a formula trigger character, such as =, +, -, or @, could be interpreted as a live formula when a Control Panel user opens the export in a spreadsheet application. Form submissions can come from unauthenticated front-end visitors, so the malicious value can be supplied by an anonymous user and is later triggered by an editor opening the export. This issue is fixed in versions 5.73.24 and 6.20.1.
Published: 2026-07-17
Score: 6.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Statamic, a Laravel‑based CMS, stored form submission data to CSV without sanitizing spreadsheet formula characters. An attacker could submit a value beginning with a formula trigger such as =, +, -, or @. When an editor later opens the exported CSV in a spreadsheet application, the application will treat the value as a live formula and could execute it. This flaw permits formula injection that can affect applications that evaluate spreadsheet formulas.

Affected Systems

All installations of Statamic CMS running a version earlier than 5.73.24 for the v5 line or earlier than 6.20.1 for the v6 line are potentially vulnerable, regardless of the particular form or data content, because the export code does not neutralize spreadsheet formula characters.

Risk and Exploitability

The vulnerability has a CVSS score of 6.1, indicating moderate severity. Its EPSS score is below 1%, suggesting a very low likelihood of exploitation in the wild, and it is not currently listed in the CISA KEV catalog. The attack path requires an unauthenticated user to inject the malicious value through a form, and a separate authenticated editor must later open the generated CSV file in a spreadsheet program for the injection to take effect. Because these conditions must be met, the practical risk is moderate but depends on the exposure of the CSV export to attackers and the use of applications that evaluate spreadsheet formulas.

Generated by OpenCVE AI on August 1, 2026 at 08:14 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the Statamic CMS update to v5.73.24 or v6.20.1 or later
  • If an update is not possible, sanitize outgoing CSV values to escape or strip leading formula trigger characters
  • Restrict CSV export capabilities to authenticated or trusted users, or disable export for unauthenticated front‑end visitors

Generated by OpenCVE AI on August 1, 2026 at 08:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-h77m-qrj7-jxcw Statamic Vulnerable to CSV formula injection in form submission exports
History

Mon, 20 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 17 Jul 2026 22:15:00 +0000

Type Values Removed Values Added
First Time appeared Statamic
Statamic cms
Vendors & Products Statamic
Statamic cms

Fri, 17 Jul 2026 20:45:00 +0000

Type Values Removed Values Added
Description Statamic is a Laravel and Git powered content management system (CMS). Prior to 5.73.24 and 6.20.1, form submission values in src/Forms/Exporters/CsvExporter.php were not neutralized for spreadsheet formula characters when exported to CSV. A submission containing a value beginning with a formula trigger character, such as =, +, -, or @, could be interpreted as a live formula when a Control Panel user opens the export in a spreadsheet application. Form submissions can come from unauthenticated front-end visitors, so the malicious value can be supplied by an anonymous user and is later triggered by an editor opening the export. This issue is fixed in versions 5.73.24 and 6.20.1.
Title Statamic: CSV formula injection in form submission exports
Weaknesses CWE-1236
References
Metrics cvssV3_1

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


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-20T13:34:48.019Z

Reserved: 2026-06-12T16:25:43.085Z

Link: CVE-2026-54243

cve-icon Vulnrichment

Updated: 2026-07-20T13:34:44.402Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-01T08:15:03Z

Weaknesses
  • CWE-1236

    Improper Neutralization of Formula Elements in a CSV File