GHSA-mpqj-f4v3-334h
Silverstripe Cross-site scripting vulnerability in VersionedRequestFilter
Quick fix
GHSA-mpqj-f4v3-334h — silverstripe/framework: upgrade to the fixed version with the command below.
composer require silverstripe/framework:^3.3.3Details
A cross-site scripting vulnerability in VersionedRequestFilter has been found.
If an incoming user request should not be able to access the requested stage, an error message is created for display on the CMS login page that they are redirected to. In this error message, the URL of the requested page is interpolated into the error message without being escaped; hence, arbitrary HTML can be injected into the CMS login page.
Are you affected?
Enter the version of the package you're using.
Affected packages
3.3.2Fixed in: 3.3.3composer require silverstripe/framework:^3.3.33.4.0Fixed in: 3.4.1composer require silverstripe/framework:^3.4.1References
- https://github.com/silverstripe/silverstripe-framework/commit/3fa84cf0c64a539d78600c36364817a8e38411d8[WEB]
- https://github.com/silverstripe/silverstripe-framework/commit/41be95c95a55031412ee4056aeee5c2c69595836[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2016-007-1.yaml[WEB]
- https://github.com/silverstripe/silverstripe-framework[PACKAGE]
- https://www.silverstripe.org/download/security-releases/ss-2016-007[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:composer/silverstripe/framework"]}'