Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') Affecting silverstripe/framework package, versions >=4.0.3-rc1, <4.0.4 >=4.1.0-rc1, <4.1.1
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-PHP-SILVERSTRIPEFRAMEWORK-7148712
- published 28 May 2024
- disclosed 27 May 2024
- credit Logan Wood, Josh Leroux
How to fix?
Upgrade silverstripe/framework
to version 4.0.4, 4.1.1 or higher.
Overview
silverstripe/framework is a PHP framework forming the base for the SilverStripe CMS.
Affected versions of this package are vulnerable to Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') through the second argument of renderWith
, which resolves associative arrays as template placeholders. An attacker can execute arbitrary global functions by passing malicious user input directly as a value in an associative array without sanitization.
References
CVSS Scores
version 3.1