GitHub Advisory Database
GHSA-2jvj-mhf2-g99w
SilverStripe CSV Excel Macro Injection
Details
In the CSV export feature of SilverStripe before 3.5.6, 3.6.x before 3.6.3, and 4.x before 4.0.1, it's possible for the output to contain macros and scripts, which may be executed if imported without sanitization into common software (including Microsoft Excel). For example, the CSV data may contain untrusted user input from the "First Name" field of a user's /myprofile page.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | silverstripe/framework | All versions before 3.5.6 (fixed in 3.5.6) |
| Packagist | silverstripe/framework | From 3.6.0 before 3.6.3 (fixed in 3.6.3) |
| Packagist | silverstripe/framework | From 4.0.0 before 4.0.1 (fixed in 4.0.1) |