ADVISORIES

GitHub Advisory Database

GHSA-2jvj-mhf2-g99w

SilverStripe CSV Excel Macro Injection

Moderate CVE-2017-18049

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

EcosystemPackageAffected versions
Packagistsilverstripe/framework
All versions before 3.5.6 (fixed in 3.5.6)
Packagistsilverstripe/framework
From 3.6.0 before 3.6.3 (fixed in 3.6.3)
Packagistsilverstripe/framework
From 4.0.0 before 4.0.1 (fixed in 4.0.1)

References