MediumGHSA-h77m-qrj7-jxcwCVE-2026-54243

Statamic Vulnerable to CSV formula injection in form submission exports

Published 26 Jun 2026 · Updated 10 Sept 2026

Affected packages

statamic/cmsComposer
Affected
>=6.0.0 <6.20.1
Fixed in
6.20.1
Update to the fixed version for your release line, for example:composer require statamic/cms:^6.20.1
statamic/cmsComposer
Affected
<5.73.24
Fixed in
5.73.24
Update to the fixed version for your release line, for example:composer require statamic/cms:^5.73.24

Details

Impact

Form submission values were not neutralized for spreadsheet formula characters when exported to CSV. A submission containing a value beginning with a formula trigger character (e.g.  = ,  + ,  - ,  @ ) 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.

Exploitation affects the spreadsheet application used to open the export, not the Statamic application or server; the data at risk is the form submission data the exporting user is already authorized to view.

Patches

This has been fixed in 5.73.24 and 6.20.1.

Is GHSA-h77m-qrj7-jxcw in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected statamic/cms, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.