VDB
Sign up
MEDIUM6.1

GHSA-qvrv-2x7x-78x2

Reflected XSS in SilverStripe

Quick fix

GHSA-qvrv-2x7x-78x2 — silverstripe/framework: upgrade to the fixed version with the command below.

composer require silverstripe/framework:^4.5.2

Details

SilverStripe through 4.4.x before 4.4.5 and 4.5.x before 4.5.2 allows Reflected XSS on the login form and custom forms. Silverstripe Forms allow malicious HTML or JavaScript to be inserted through non-scalar FormField attributes, which allows performing XSS (Cross-Site Scripting) on some forms built with user input (Request data). This can lead to phishing attempts to obtain a user's credentials or other sensitive user input.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/silverstripe/framework
Introduced in: 4.5.0Fixed in: 4.5.2
Fixcomposer require silverstripe/framework:^4.5.2
Packagist/silverstripe/framework
Introduced in: 4.0.0Fixed in: 4.4.5
Fixcomposer require silverstripe/framework:^4.4.5

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