Skip to content

GHSA-jqp8-v74p-g8px Silverstripe XSS in Director::force_redirect()

MediumCVSS 6.1
Published
Updated
Exploit status
No public exploit known
Technology
PHP

Description

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
silverstripe/framework(Packagist) = 3.1.0; = 3.1.1; = 3.1.2; = 3.1.2-rc1 +22 more 3.1.12 Fixed

Affected products

ProductAffected versionsFixed in
silverstripe/framework(Packagist) >= 3.1.0, < 3.1.12 3.1.12
silverstripe/framework(Packagist) = 3.1.0 No fix listed
silverstripe/framework(Packagist) = 3.1.1 No fix listed
silverstripe/framework(Packagist) = 3.1.10 No fix listed
silverstripe/framework(Packagist) = 3.1.10-rc1 No fix listed
silverstripe/framework(Packagist) = 3.1.10-rc2 No fix listed
silverstripe/framework(Packagist) = 3.1.11 No fix listed
silverstripe/framework(Packagist) = 3.1.11-rc1 No fix listed
silverstripe/framework(Packagist) = 3.1.2 No fix listed
silverstripe/framework(Packagist) = 3.1.2-rc1 No fix listed
silverstripe/framework(Packagist) = 3.1.3 No fix listed
silverstripe/framework(Packagist) = 3.1.3-rc1 No fix listed
silverstripe/framework(Packagist) = 3.1.3-rc2 No fix listed
silverstripe/framework(Packagist) = 3.1.4 No fix listed
silverstripe/framework(Packagist) = 3.1.4-rc1 No fix listed
silverstripe/framework(Packagist) = 3.1.5 No fix listed
silverstripe/framework(Packagist) = 3.1.5-rc1 No fix listed
silverstripe/framework(Packagist) = 3.1.6 No fix listed
silverstripe/framework(Packagist) = 3.1.6-rc1 No fix listed
silverstripe/framework(Packagist) = 3.1.6-rc2 No fix listed
silverstripe/framework(Packagist) = 3.1.6-rc3 No fix listed
silverstripe/framework(Packagist) = 3.1.7 No fix listed
silverstripe/framework(Packagist) = 3.1.7-rc1 No fix listed
silverstripe/framework(Packagist) = 3.1.8 No fix listed
silverstripe/framework(Packagist) = 3.1.9 No fix listed
Show 1 more
ProductAffected versionsFixed in
silverstripe/framework(Packagist) = 3.1.9-rc1 No fix listed

References