GHSA-r32j-mr8p-hfp8
Silverstripe XSS in TreeDropdownField and TreeMultiSelectField
Quick fix
GHSA-r32j-mr8p-hfp8 — silverstripe/framework: upgrade to the fixed version with the command below.
composer require silverstripe/framework:^3.1.10Details
A cross-site scripting vulnerability has been discovered in the TreeDropdownField and TreeMultiSelectField.
This vulnerability can only be exploited if a user with CMS access has posted malicious or unescaped HTML into any of the dataobjects used as a data source for either of these fields.
This has been resolved by ensuring that all dataobjects used as a data source have their content safely encoded.
Are you affected?
Enter the version of the package you're using.
Affected packages
3.1.0Fixed in: 3.1.10composer require silverstripe/framework:^3.1.10References
- https://github.com/silverstripe/silverstripe-framework/commit/89c14d079d3a130d6c4029af596262528ce53925[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2015-004-1.yaml[WEB]
- https://github.com/silverstripe/silverstripe-framework[PACKAGE]
- https://www.silverstripe.org/software/download/security-releases/ss-2015-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"]}'