Skip to content
OpenAdvisories
High · 8.0 GHSA-mqjc-x563-c9q8

silverstripe/framework CSV Excel Macro Injection

Published May 27, 2024 · Updated Dec 2, 2024 · Assigned by GHSA

Description

In the CSV export feature of the CMS it's possible for the output to contain macros and scripts, which if imported without sanitisation into software (including Microsoft Excel) may be executed.

In order to safeguard against this threat all potentially executable cell values exported from CSV will be prepended with a literal tab character.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist silverstripe/framework >= 3.5.0-rc1, < 3.5.6 3.5.6 GHSA-mqjc-x563-c9q8
Packagist silverstripe/framework >= 3.6.0-rc1, < 3.6.3 3.6.3 GHSA-mqjc-x563-c9q8
Packagist silverstripe/framework >= 4.0.0-rc1, < 4.0.1 4.0.1 GHSA-mqjc-x563-c9q8

References