SilverStripe CSV Excel Macro Injection
Impact
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.
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 |
|---|---|
| Earlier releases before 3.5.6Ecosystem versions | 3.5.6 |
| From 3.6.0 before 3.6.3Ecosystem versions | 3.6.3 |
| From 4.0.0 before 4.0.1Ecosystem versions | 4.0.1 |
Version evidence: OSV · GHSA-2jvj-mhf2-g99w
View original version evidence (153 explicit versions)
Original source description
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.