GHSA-vgxh-x8jv-hmff
JSON

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 packageVersionsReported by
silverstripe/framework (Packagist)from 4.0.3-rc1 before 4.0.4, from 4.1.0-rc1 before 4.1.1GitHub Advisory Database

Classification

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-vgxh-x8jv-hmff changed 2024-12-02CC-BY-4.0