VDB
Sign up
MEDIUM6.1

GHSA-vvxf-r4vm-2vm6

Reflected XSS in querystring parameters

Quick fix

GHSA-vvxf-r4vm-2vm6 — silverstripe/framework: upgrade to the fixed version with the command below.

composer require silverstripe/framework:^4.11.13

Details

An attacker could inject a XSS payload in a Silverstripe CMS response by carefully crafting a return URL on a /dev/build or /Security/login request.

To exploit this vulnerability, an attacker would need to convince a user to follow a link with a malicious payload.

This will only affect projects configured to output PHP warnings to the browser. By default, Silverstripe CMS will only output PHP warnings if your SS_ENVIRONMENT_TYPE environment variable is set to dev. Production sites should always set SS_ENVIRONMENT_TYPE to live.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/silverstripe/framework
Introduced in: 4.0.0Fixed in: 4.11.13
Fixcomposer require silverstripe/framework:^4.11.13

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