All reports
High

silverstripe/framework code execution vulnerability

Affected versions

Version ranges need review.

Affected versions
>= 4.1.0-rc1, < 4.1.1
Fixed version
4.1.1
Affected versions
>= 4.0.3-rc1, < 4.0.4
Fixed version
4.0.4
Affected versions
>=3.4.0,<3.4.6|>=3.5.0,<3.5.4
Fixed version
Not reported

Description

There is a vulnerability whereby arbitrary global functions may be executed if malicious user input is passed through to in the second argument of ViewableData::renderWith. This argument resolves associative arrays as template placeholders. This exploit requires that user code has been written which makes use of the second argument in renderWith and where user input is passed directly as a value in an associative array without sanitisation such as Convert::raw2xml().

ViewableData::customise is not vulnerable.

Links