{"id":"GHSA-vvxf-r4vm-2vm6","aliases":["CVE-2022-38462"],"title":"Reflected XSS in querystring parameters","description":"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.\n\nTo exploit this vulnerability, an attacker would need to convince a user to follow a link with a malicious payload.\n\nThis 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.","severity":"medium","score":6.1,"published":"2022-11-21T23:59:56.000Z","modified":"2025-04-29T13:21:38.886Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"silverstripe/framework","ranges":[{"events":[{"introduced":"4.0.0"},{"fixed":"4.11.13"}],"type":"ECOSYSTEM"}],"versions":["4.0.0","4.0.1","4.0.1-rc1","4.0.2","4.0.3","4.0.4","4.0.5","4.0.6","4.0.7","4.1.0","4.1.0-rc1","4.1.0-rc2","4.1.1","4.1.2","4.1.3","4.1.4","4.1.5","4.10.0","4.10.0-beta1","4.10.0-rc1","4.10.1","4.10.10","4.10.11","4.10.2","4.10.3","4.10.4","4.10.5","4.10.6","4.10.7","4.10.8","4.10.9","4.11.0","4.11.0-beta1","4.11.0-beta2","4.11.0-beta3","4.11.0-rc1","4.11.1","4.11.10","4.11.11","4.11.12","4.11.2","4.11.3","4.11.4","4.11.5","4.11.6","4.11.7","4.11.8","4.11.9","4.2.0","4.2.0-beta1","4.2.1","4.2.2","4.2.3","4.2.4","4.2.5","4.3.0","4.3.0-rc1","4.3.1","4.3.2","4.3.3","4.3.4","4.3.5","4.4.0","4.4.0-rc1","4.4.1","4.4.2","4.4.3","4.4.4","4.4.5","4.4.6","4.4.7","4.5.0","4.5.0-alpha1","4.5.0-rc1","4.5.0-rc2","4.5.1","4.5.2","4.5.3","4.5.4","4.6.0","4.6.0-beta1","4.6.0-rc1","4.6.1","4.6.2","4.7.0","4.7.0-beta1","4.7.0-rc1","4.7.1","4.7.2","4.7.3","4.7.4","4.8.0","4.8.0-beta1","4.8.0-rc1","4.8.1","4.9.0","4.9.0-alpha1","4.9.0-beta1","4.9.0-rc1","4.9.1","4.9.2","4.9.3","4.9.4"],"fixed":["4.11.13"]}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2022-38462","https://forum.silverstripe.org/c/releases","https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/CVE-2022-38462.yaml","https://www.silverstripe.org/blog/tag/release","https://www.silverstripe.org/download/security-releases","https://www.silverstripe.org/download/security-releases/cve-2022-38462"],"sources":[{"name":"OSV","id":"GHSA-vvxf-r4vm-2vm6","modified":"2025-04-29T13:21:38.886819Z","url":"https://osv.dev/vulnerability/GHSA-vvxf-r4vm-2vm6"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1}]}