Advisory

GHSA-h7vq-5qgw-jwwq

Also known as: CVE-2021-41824

Summary

CSV Injection Vulnerability

Details

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 [email protected]

----------

Credits: BAE Systems AI Vulnerability Research Team – Azrul Ikhwan Zulkifli

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-10-18 19:04 UTC
Modified
2026-07-08 06:30 UTC

Affected packages and fixes

craftcms/cms

Packagist · All systems

Affected

  • introduced 3.4.0, fixed 3.7.14 (ecosystem)

Fixed versions

3.7.14

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences