Silverstripe Missing CSRF protection in login form
Summary
GHSA-vj2j-6g3w-4662: Silverstripe Missing CSRF protection in login form. Affects silverstripe/framework across 3 version ranges.
>= 3.1.18, < 3.1.19
>= 3.2.3, < 3.2.4
>= 3.3.1, < 3.3.2
Fixed in 3.1.19, 3.2.4 or 3.3.2, depending on the release line you run. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
LoginForm calls disableSecurityToken(), which causes a "shared host domain" vulnerability: http://stackoverflow.com/a/15350123.
How To Fix
Fixed versions by release line
The minimum fixed version depends on the release line you run.
-
>= 3.1.18, < 3.1.193.1.19composer require silverstripe/framework:3.1.19 -
>= 3.2.3, < 3.2.43.2.4composer require silverstripe/framework:3.2.4 -
>= 3.3.1, < 3.3.23.3.2composer require silverstripe/framework:3.3.2
Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →
References
Related vulnerabilities
Recent vulnerabilities recorded for silverstripe/framework.