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

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2024-05-23T16:48:11.000Z
- Modified: 2024-11-28T05:41:05.029Z
- Weaknesses: CWE-79

## 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.

(As written by GitHub Advisory Database.)

## Affected

- silverstripe/framework (Packagist): from 3.1.0 before 3.1.12

## References

- <https://github.com/silverstripe/silverstripe-framework/commit/ee9bddb808df6d27db4d56bb5d522dcfe6788715> (web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2015-010-1.yaml> (web)
- <https://github.com/silverstripe/silverstripe-framework> (package)
- <https://www.silverstripe.org/software/download/security-releases/ss-2015-010-xss-in-directorforce-redirect> (web)

## Sources

- GitHub Advisory Database: [GHSA-jqp8-v74p-g8px](https://github.com/advisories/GHSA-jqp8-v74p-g8px), CC-BY-4.0, modified 2024-11-28

---

Page: https://cve.day/GHSA-jqp8-v74p-g8px · Whole record: https://cve.day/GHSA-jqp8-v74p-g8px.json · Rebuilt by cve.day 2026-11-25T22:56:32.464Z
