VDB
Sign up
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.16

Details

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.16
Fixcomposer require silverstripe/framework:^3.1.16
Packagist/silverstripe/framework
Introduced in: 3.2.0Fixed in: 3.2.1
Fixcomposer require silverstripe/framework:^3.2.1

References

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"]}'