Statamic: CSV formula injection in form submission exports
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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
statamic/cmsPackagist | >= 6.0.0, < 6.20.1 | 6.20.1 |
statamic/cmsPackagist | < 5.73.24 | 5.73.24 |
Affected products
3Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-h77m-qrj7-jxcwghsaADVISORY
- github.com/statamic/cms/commit/f17c098e52a92597fc5f81bd287700b3d05f4addmitrex_refsource_MISC
- github.com/statamic/cms/pull/14760mitrex_refsource_MISC
- github.com/statamic/cms/releases/tag/v5.73.24mitrex_refsource_MISC
- github.com/statamic/cms/releases/tag/v6.20.1mitrex_refsource_MISC
- github.com/statamic/cms/security/advisories/GHSA-h77m-qrj7-jxcwghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.