~ / search / GHSA-vvxf-r4vm-2vm6

GHSA-vvxf-r4vm-2vm6

Reflected XSS in querystring parameters

Source: GitHub Advisory Database (reviewed) Moderate CVE-2022-38462

Packages

EcosystemPackageAffectedFixed in
Packagist silverstripe/framework >= 4.0.0, < 4.11.13 4.11.13

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.