MEDIUM4.7
GHSA-hq4p-5mpr-jj9m
Silverstripe XSS in dev/build returnURL Parameter
Quick fix
GHSA-hq4p-5mpr-jj9m — silverstripe/framework: upgrade to the fixed version with the command below.
composer require silverstripe/framework:^3.1.14Details
A XSS risk exists in the returnURL parameter passed to dev/build. An unvalidated url could cause the user to redirect to an unverified third party url outside of the site.
This issue is resolved in framework 3.1.14 stable release.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/silverstripe/framework
Introduced in:
0Fixed in: 3.1.14Fix
composer require silverstripe/framework:^3.1.14References
- https://github.com/silverstripe/silverstripe-framework/commit/751d77386c3c6e354b521fa61ff142f95895cca8[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2015-015-1.yaml[WEB]
- https://github.com/silverstripe/silverstripe-framework[PACKAGE]
- https://www.silverstripe.org/software/download/security-releases/ss-2015-015[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"]}'