silverstripe/framework Privilege Escalation Risk in Member Edit formGHSA-xpff-c35g-j3cr
MEDIUMFix: silverstripe/silverstripe-framework@5771388GHSA-xpff-c35g-j3cr is a medium-severity (CVSS 6.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/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
A member with the permission EDIT_PERMISSIONS and access to the "Security" section is able to re-assign themselves (or another member) to ADMIN level.
CMS Fields for the member are constructed using DirectGroups instead of Groups relation which results in bypassing security logic preventing privilege escalation.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐘Packagist | silverstripe/framework | ≥ 3.5.7-rc1&&< 3.5.8 | 3.5.8composer require silverstripe/framework:^3.5.8 |
| 🐘Packagist | silverstripe/framework | ≥ 3.6.0-rc1&&< 3.6.6 | 3.6.6composer require silverstripe/framework:^3.6.6 |
| 🐘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 3.5.8 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-xpff-c35g-j3cr is resolved across your whole dependency graph.
Workarounds
Close the privilege gap rather than the entry point: audit which accounts, roles and service identities can reach the affected operation, drop the component to the least privilege it actually needs, and review file and directory permissions created by earlier installs — a default left in place is what makes this reachable.
Frequently Asked Questions
Is GHSA-xpff-c35g-j3cr in your dependencies?
Find it across Packagist, including transitive dependencies.