silverstripe/framework ReadOnly transformation for formfields exploitable
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-79.
Summary
Form fields returning isReadonly() as true are vulnerable to reflected XSS injections. This includes ReadonlyField, LookupField, HTMLReadonlyField, as well as special purpose fields like TimeField_Readonly. Values submitted to through these form fields are not filtered out from the form session data, and might be shown to the user depending on the form behaviour. For example, form validation errors cause the form to re-render with previously submitted values by default. SilverStripe forms automatically load values from request data (GET and POST), which enables malicious use of URLs if your form uses these fields and doesn't overwrite data on form construction. Readonly and disabled form fields are already filtered out in Form->saveInto(), so maliciously submitted data on these fields doesn't make it into the database unless you are accessing form values directly in your saving logic.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | silverstripe/framework (Packagist) | before 3.1.21 | 3.1.21 | Patch available | GHSA-97jm-g33h-f46g |
| — | silverstripe/framework (Packagist) | 3.2.0 to before 3.2.6 | 3.2.6 | Patch available | GHSA-97jm-g33h-f46g |
| — | silverstripe/framework (Packagist) | 3.3.0 to before 3.3.4 | 3.3.4 | Patch available | GHSA-97jm-g33h-f46g |
| — | silverstripe/framework (Packagist) | 3.4.0 to before 3.4.2 | 3.4.2 | Patch available | GHSA-97jm-g33h-f46g |
- silverstripe/framework (Packagist) Vendor— Affected before 3.1.21 Fixed in 3.1.21 Patch available GHSA-97jm-g33h-f46g
- silverstripe/framework (Packagist) Vendor— Affected 3.2.0 to before 3.2.6 Fixed in 3.2.6 Patch available GHSA-97jm-g33h-f46g
- silverstripe/framework (Packagist) Vendor— Affected 3.3.0 to before 3.3.4 Fixed in 3.3.4 Patch available GHSA-97jm-g33h-f46g
- silverstripe/framework (Packagist) Vendor— Affected 3.4.0 to before 3.4.2 Fixed in 3.4.2 Patch available GHSA-97jm-g33h-f46g
Remediation
- Fix · GHSA-97jm-g33h-f46g silverstripe/framework (Packagist) Fixed in 3.1.21 Advisory →
- Fix · GHSA-97jm-g33h-f46g silverstripe/framework (Packagist) Fixed in 3.2.6 Advisory →
- Fix · GHSA-97jm-g33h-f46g silverstripe/framework (Packagist) Fixed in 3.3.4 Advisory →
- Fix · GHSA-97jm-g33h-f46g silverstripe/framework (Packagist) Fixed in 3.4.2 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-97jm-g33h-f46g
References
Other 4
- https://github.com/silverstripe/silverstripe-framework/commit/8336cb96b9600dacafa8a525c92662345b52cfae
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2016-010-1.yaml
- https://github.com/silverstripe/silverstripe-framework
- https://www.silverstripe.org/download/security-releases/ss-2016-010
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences