HighGHSA-m5q3-mvcr-gc5m
silverstripe/framework BackURL validation bypass with malformed URLs
Published 27 May 2024 · Updated 2 Dec 2024
Affected packages
silverstripe/frameworkComposer
- Affected
- >=4.0.0-rc1 <4.0.4
- Fixed in
- 4.0.4
Update to the fixed version for your release line, for example:
composer require silverstripe/framework:^4.0.4silverstripe/frameworkComposer
- Affected
- >=4.1.0-rc1 <4.1.1
- Fixed in
- 4.1.1
Update to the fixed version for your release line, for example:
composer require silverstripe/framework:^4.1.1Details
A carefully constructed malformed URL can be used to circumvent the offsite redirection protection used on BackURL parameters. This could lead to users entering sensitive data in malicious websites instead of the intended one.
Is GHSA-m5q3-mvcr-gc5m in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected silverstripe/framework, and gives you the command that fixes it.
References
- Linkgithub.com/silverstripe/silverstripe-framework/commit/9053014a7e2eba28d000881e0bb3cc1d6e6b2eea
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2018-008-1.yaml
- Packagegithub.com/silverstripe/silverstripe-framework
- Linkwww.silverstripe.org/download/security-releases/ss-2018-008
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.