All reports
High

silverstripe/framework CSV Excel Macro Injection

Affected versions

Version ranges need review.

Affected versions
>=3.5.0,<3.5.6|>=3.6.0,<3.6.3|>=4.0.0,<4.0.1
Fixed version
Not reported
Affected versions
>= 4.0.0-rc1, < 4.0.1
Fixed version
4.0.1
Affected versions
>= 3.5.0-rc1, < 3.5.6
Fixed version
3.5.6
Affected versions
>= 3.6.0-rc1, < 3.6.3
Fixed version
3.6.3

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.

Links