GHSA-jqp8-v74p-g8px: Silverstripe XSS in Director::force_redirect()
A low level XSS vulnerability has been found in the Framework affecting http redirection via the Director::forceredirect method. Attempts to redirect to a url may generate HTML which is not safely escaped, and may pose a risk of XSS in some environments.
Published May 23, 2024
Affected packages
silverstripe/framework
- Ecosystem
- Composer (PHP)
- Affected
- >= 3.1.0, < 3.1.12
- Fixed in
- 3.1.12
- Check
composer show silverstripe/framework
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
A low level XSS vulnerability has been found in the Framework affecting http redirection via the Director::force_redirect method.
Attempts to redirect to a url may generate HTML which is not safely escaped, and may pose a risk of XSS in some environments.
This vulnerability is marked low as it is difficult to exploit, as any injected HTML will only be returned from the server if the Location HTTP header is also sent, meaning that any user browsing the site would not be exposed to the body of the response before their browser redirects them.
References
- https://github.com/silverstripe/silverstripe-framework/commit/ee9bddb808df6d27db4d56bb5d522dcfe6788715
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2015-010-1.yaml
- https://www.silverstripe.org/software/download/security-releases/ss-2015-010-xss-in-directorforce-redirect
- https://github.com/advisories/GHSA-jqp8-v74p-g8px
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesCVE-2026-88987
Silverstripe Framework: XSS via XHTML data URI
medium5.4Nov 16, 2026CVE-2026-88988
Silverstripe Framework: XSS via SVG data URI
medium5.4Nov 16, 2026CVE-2026-88989
Silverstripe Framework: Auth bypass GridFieldDetailForm
medium4.3Nov 16, 2026CVE-2026-91112
Silverstripe Framework: CMS_ACCESS_SecurityAdmin privilege escalation
medium6.8Nov 16, 2026CVE-2026-91113
Silverstripe Framework: User-controlled ClassName allows unauthorized record type change
medium4.3Nov 16, 2026CVE-2026-91115
Silverstripe Framework: RCE via i18nTextCollectorTask writer parameter
high8.8Nov 16, 2026
