MEDIUM
GHSA-c4c3-j73v-634r
silverstripe/framework has Cross-site Scripting vulnerability in page history comparison
Quick fix
GHSA-c4c3-j73v-634r — silverstripe/framework: upgrade to the fixed version with the command below.
composer require silverstripe/framework:^3.4.6Details
Authenticated user with page edit permission can craft HTML, which when rendered in a page history comparison can execute client scripts.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/silverstripe/framework
Introduced in:
3.4.0-rc1Fixed in: 3.4.6Fix
composer require silverstripe/framework:^3.4.6Packagist/silverstripe/framework
Introduced in:
3.5.0-rc1Fixed in: 3.5.4Fix
composer require silverstripe/framework:^3.5.4References
- https://github.com/silverstripe/silverstripe-framework/commit/2b72c0f73b668ddf7c059319da915a6c08652278[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2017-004-1.yaml[WEB]
- https://github.com/silverstripe/silverstripe-framework[PACKAGE]
- https://www.silverstripe.org/download/security-releases/ss-2017-004[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"]}'