CSV Injection Vulnerability
Impact
In some circumstances, it was possible to export data in CSV format that could trigger a payload in old versions of Excel.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| From 3.4.0 before 3.7.14Ecosystem versions | 3.7.14 |
Version evidence: OSV · GHSA-h7vq-5qgw-jwwq
View original version evidence (135 explicit versions)
Original source description
Impact
In some circumstances, it was possible to export data in CSV format that could trigger a payload in old versions of Excel.
If you are accepting user input from untrusted sources and will be exporting that data in CSV format from element index pages and there is a chance users will open that on old versions of Excel, then you should update.
Patches
This has been patched in Craft 3.7.14.
References
- https://github.com/craftcms/cms/blob/develop/CHANGELOG.md#3714---2021-09-28
- https://twitter.com/craftcmsupdates/status/1442928690145366018
For more information
If you have any questions or comments about this advisory, email us at support@craftcms.com
Credits: BAE Systems AI Vulnerability Research Team – Azrul Ikhwan Zulkifli
References
- Security advisory github.com/craftcms/cms/security/advisories/GHSA-h7vq-5qgw-jwwq
- Security advisory nvd.nist.gov/vuln/detail/CVE-2021-41824
- Patch github.com/craftcms/cms/commit/c9cb2225f1b908fb1e8401d401219228634b26b2
- Source reference github.com/craftcms/cms
- Release notes github.com/craftcms/cms/blob/develop/CHANGELOG.md
- Source reference twitter.com/craftcmsupdates/status/1442928690145366018