medium6.1
CVE-2022-38462
Reflected XSS in querystring parameters
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | silverstripe/framework | >= 4.0.0, < 4.11.13 | 4.11.13 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Silverstripe | Framework | before 4.11.13 from 3.0.0 through 3.7.7 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://forum.silverstripe.org/c/releases
- https://www.silverstripe.org/blog/tag/release
- https://www.silverstripe.org/download/security-releases/
- https://github.com/advisories/GHSA-vvxf-r4vm-2vm6
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/CVE-2022-38462.yaml
- https://www.silverstripe.org/download/security-releases/cve-2022-38462
- https://nvd.nist.gov/vuln/detail/CVE-2022-38462
- https://www.silverstripe.org/download/security-releases