GHSA-jqp8-v74p-g8px
GHSA-jqp8-v74p-g8px · Silverstripe XSS in Director::force_redirect()
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 6.1 · Medium · Fix available
- Published
- Updated
Stack: php
Affected products and versions
silverstripe/framework Packagist
- Versions
- 3.1.0
- 3.1.1
- 3.1.10
- 3.1.10-rc1
- 3.1.10-rc2
- 3.1.11
- 3.1.11-rc1
- 3.1.2
- 3.1.2-rc1
- 3.1.3
- 3.1.3-rc1
- 3.1.3-rc2
- 3.1.4
- 3.1.4-rc1
- 3.1.5
- 3.1.5-rc1
- 3.1.6
- 3.1.6-rc1
- 3.1.6-rc2
- 3.1.6-rc3
- 3.1.7
- 3.1.7-rc1
- 3.1.8
- 3.1.9
- 3.1.9-rc1
- Affected ranges
- ECOSYSTEM: ≥ 3.1.0, < 3.1.12
Update to 3.1.12
Original sources
- https://github.com/silverstripe/silverstripe-framework/commit/ee9bddb808df6d27db4d56bb5d522dcfe6788715
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2015-010-1.yaml
- https://github.com/silverstripe/silverstripe-framework
- https://www.silverstripe.org/software/download/security-releases/ss-2015-010-xss-in-directorforce-redirect
- https://osv.dev/vulnerability/GHSA-jqp8-v74p-g8px