MEDIUM6.1
GHSA-j982-5jv7-v43r
Silverstripe Form field validation message XSS vulnerability
Quick fix
GHSA-j982-5jv7-v43r — silverstripe/framework: upgrade to the fixed version with the command below.
composer require silverstripe/framework:^3.1.16Details
A high level XSS risk has been identified in the encoding of validation messages in certain FormField classes.
Certain fields such as the NumericField and DropdownField have been identified, but any form field which presents any invalid content as a part of its validation response will be at risk.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/silverstripe/framework
Introduced in:
3.0.0Fixed in: 3.1.16Fix
composer require silverstripe/framework:^3.1.16Packagist/silverstripe/framework
Introduced in:
3.2.0Fixed in: 3.2.1Fix
composer require silverstripe/framework:^3.2.1References
- https://github.com/silverstripe/silverstripe-framework/commit/245e0aae2f5f3eb0acba1d198ad8e196bb224462[WEB]
- https://github.com/silverstripe/silverstripe-framework/commit/bc1b2893accba6401c03f9ea3b0cbc4621c7a02c[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2015-026-1.yaml[WEB]
- https://github.com/silverstripe/silverstripe-framework[PACKAGE]
- https://www.silverstripe.org/download/security-releases/ss-2015-026[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"]}'