GHSA-pp7q-6j3f-74vj: silverstripe/framework has Cross-site Scripting vulnerability in RedirectorPage
6.1
CVSS Score
3.1
Basic Information
CVE ID
-
GHSA ID
EPSS Score
-
CWE
Published
5/27/2024
Updated
5/27/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| silverstripe/framework | composer | >= 3.4.0-rc1, < 3.4.6 | 3.4.6 |
| silverstripe/framework | composer | >= 3.5.0-rc1, < 3.5.4 | 3.5.4 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from unvalidated user input in the redirect URL field. The RedirectorPage_Controller::index method triggers the redirect using the unvalidated URL, and RedirectorPage::getRedirectionURL provides the raw input. Both functions lack protocol validation (e.g., blocking javascript: URLs), enabling XSS when the redirect is executed. This matches the CWE-79 description and the advisory's focus on missing validation in the redirector logic.