Silverstripe Missing CSRF protection in login formGHSA-vj2j-6g3w-4662
MEDIUMFix: silverstripe/silverstripe-framework@a6bd22aGHSA-vj2j-6g3w-4662 is a medium-severity (CVSS 5.4) remote code execution 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/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
LoginForm calls disableSecurityToken(), which causes a "shared host domain" vulnerability: http://stackoverflow.com/a/15350123.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐘Packagist | silverstripe/framework | ≥ 3.1.18&&< 3.1.19 | 3.1.19composer require silverstripe/framework:^3.1.19 |
| 🐘Packagist | silverstripe/framework | ≥ 3.2.3&&< 3.2.4 | 3.2.4composer require silverstripe/framework:^3.2.4 |
| 🐘Packagist | silverstripe/framework | ≥ 3.3.1&&< 3.3.2 | 3.3.2composer require silverstripe/framework:^3.3.2 |
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 3.1.19 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-vj2j-6g3w-4662 is resolved across your whole dependency graph.
Workarounds
Constrain what reaches the vulnerable code: limit the size and shape of untrusted input, isolate the affected component in a sandboxed or least-privileged process, and enable the platform's memory-safety mitigations (ASLR, stack protector, hardened allocator) so an out-of-bounds access is more likely to fail closed than to be exploitable.
Frequently Asked Questions
Is GHSA-vj2j-6g3w-4662 in your dependencies?
Find it across Packagist, including transitive dependencies.