GHSA-f43j-8hq4-2xj9
silverstripe/framework uploaded PHP script execution in assets
GHSA-f43j-8hq4-2xj9 is a vulnerability with no CVSS score yet in silverstripe/framework, published May 27, 2024. No source lists public exploit code. Fixed in silverstripe/framework 4.0.4.
- Severity
- UnratedNo CVSS score yet
- Exploit chance
- UnscoredNo EPSS score yet
- Exploitation
- None knownNot on CISA’s or ENISA’s lists
- Fixed in
4.0.4silverstripe/framework +3 more
Description
A weakness in the .htaccess rules preventing requests to uploaded PHP scripts allows PHP scripts that had made their way into the assets directory to be successfully executed through the use of a specially crafted URL. There are protections in place to disallow upload of PHP scripts through the CMS, meaning this weakness does not lead to direct vulnerabilities.
In addition, sites hosted on the New Zealand Common Web Platform or SilverStripe Platform have additional configuration in place which prevents PHP script execution in assets, even in a malicious party manages to upload these into the folder.
Affected packages
| Package | Affected | Fixed |
|---|---|---|
silverstripe/frameworkPackagist | 4.0.0-rc1 up to 4.0.4 | 4.0.4 |
silverstripe/frameworkPackagist | 4.1.0-rc1 up to 4.1.1 | 4.1.1 |
silverstripe/frameworkPackagist | 4.0.0-rc1 up to 4.0.4, plus listed versions 4.0.04.0.0-rc24.0.0-rc34.0.14.0.1-rc14.0.24.0.3 | 4.0.4 |
silverstripe/frameworkPackagist | 4.1.0-rc1 up to 4.1.1, plus listed versions 4.1.04.1.0-rc2 | 4.1.1 |
What each source reports
GitHub AdvisoriesNo score
silverstripe/framework uploaded PHP script execution in assets
A weakness in the .htaccess rules preventing requests to uploaded PHP scripts allows PHP scripts that had made their way into the assets directory to be successfully executed through the use of a specially crafted URL. There are protections in place to disallow upload of PHP scripts through the CMS, meaning this weakness does not lead to direct vulnerabilities.
In addition, sites hosted on the New Zealand Common Web Platform or SilverStripe Platform have additional configuration in place which prevents PHP script execution in assets, even in a malicious party manages to upload these into the folder.
- Record
GHSA-f43j-8hq4-2xj9- Weakness
- CWE-20
- Updated
- 2026-11-02
OSVNo score
silverstripe/framework uploaded PHP script execution in assets
A weakness in the .htaccess rules preventing requests to uploaded PHP scripts allows PHP scripts that had made their way into the assets directory to be successfully executed through the use of a specially crafted URL. There are protections in place to disallow upload of PHP scripts through the CMS, meaning this weakness does not lead to direct vulnerabilities.
In addition, sites hosted on the New Zealand Common Web Platform or SilverStripe Platform have additional configuration in place which prevents PHP script execution in assets, even in a malicious party manages to upload these into the folder.
- Record
GHSA-f43j-8hq4-2xj9- Weakness
- CWE-20
- Updated
- 2026-11-02
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | GitHub Advisories, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
References
github.com/silverstripe/silverstripe-framework/commit/5b7eca2b6327556e2d5ad31bb00511b187e5992a
github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2018-012-1.yaml
silverstripe.org/download/security-releases/ss-2018-012
github.com/advisories/GHSA-f43j-8hq4-2xj9
github.com/silverstripe/silverstripe-framework