Security mailing lists by PureSourceCode

GHSA-vgxh-x8jv-hmff

HIGH 7.5CVSS 3.1

silverstripe/framework code execution vulnerability

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.

Published
27 May 2024
Last modified
2 Dec 2024
Weakness
CWE-74
Sources
OSVJSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Packagist silverstripe/framework >= 4.0.3-rc1, < 4.0.4 4.0.4
OSV Packagist silverstripe/framework >= 4.1.0-rc1, < 4.1.1 4.1.1

References

History

  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 27 May 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.