silverstripe/framework CSV Excel Macro Injection
High severity
GitHub Reviewed
Published
May 27, 2024
to the GitHub Advisory Database
•
Updated May 27, 2024
Package
Affected versions
>= 3.5.0-rc1, < 3.5.6
>= 3.6.0-rc1, < 3.6.3
>= 4.0.0-rc1, < 4.0.1
Patched versions
3.5.6
3.6.3
4.0.1
Description
Published to the GitHub Advisory Database
May 27, 2024
Reviewed
May 27, 2024
Last updated
May 27, 2024
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.
References