GHSA-vgxh-x8jv-hmff
7.5high
silverstripe/framework code execution vulnerability
- Severity
- 7.5high CVSS:3.1 by GitHub
- Published
- Last changed
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| silverstripe/framework (Packagist) | from 4.0.3-rc1 before 4.0.4, from 4.1.0-rc1 before 4.1.1 | GitHub Advisory Database |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-vgxh-x8jv-hmff changed 2024-12-02 | CC-BY-4.0 |