silverstripe/framework BackURL validation bypass with malformed URLsGHSA-m5q3-mvcr-gc5m
HIGHFix: silverstripe/silverstripe-framework@9053014GHSA-m5q3-mvcr-gc5m is a high-severity (CVSS 7.5) vulnerability in silverstripe/framework. A fix is available for silverstripe/framework — see the affected versions and patch details below.
Real-World Exposure
silverstripe/framework🐘silverstripe/frameworkReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.
Description
A carefully constructed malformed URL can be used to circumvent the offsite redirection protection used on BackURL parameters. This could lead to users entering sensitive data in malicious websites instead of the intended one.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐘Packagist | silverstripe/framework | ≥ 4.0.0-rc1&&< 4.0.4 | 4.0.4composer require silverstripe/framework:^4.0.4 |
| 🐘Packagist | silverstripe/framework | ≥ 4.1.0-rc1&&< 4.1.1 | 4.1.1composer require silverstripe/framework:^4.1.1 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for silverstripe/framework, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update silverstripe/framework to 4.0.4 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-m5q3-mvcr-gc5m is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is GHSA-m5q3-mvcr-gc5m in your dependencies?
Find it across Packagist, including transitive dependencies.