Vulnerability DatabaseGHSA-97jm-g33h-f46g

GHSA-97jm-g33h-f46g
PHP vulnerability analysis and mitigation

Overview

The vulnerability (GHSA-97jm-g33h-f46g) affects the SilverStripe framework and involves ReadOnly transformation for formfields being exploitable. The issue was discovered in 2016 and affects multiple versions of the framework including 3.1.x (< 3.1.21), 3.2.x (< 3.2.6), 3.3.x (< 3.3.4), and 3.4.x (< 3.4.2). The vulnerability was patched in versions 3.1.21, 3.2.6, 3.3.4, and 3.4.2 (GitHub Advisory).

Technical details

The vulnerability is classified as a Moderate severity issue with a CVSS score of 6.1. Form fields returning isReadonly() as true are vulnerable to reflected XSS injections, affecting components including ReadonlyField, LookupField, HTMLReadonlyField, and special purpose fields like TimeField_Readonly. The vulnerability exists because values submitted through these form fields are not properly filtered out from the form session data. SilverStripe forms automatically load values from request data (GET and POST), enabling potential malicious use of URLs when forms use these fields and don't overwrite data on form construction (Silverstripe Security).

Impact

The vulnerability can lead to reflected XSS injections through readonly form fields. When form validation errors occur, the form re-renders with previously submitted values by default, potentially displaying malicious content. While readonly and disabled form fields are filtered out in Form->saveInto(), making database persistence unlikely, the vulnerability could still expose users to XSS attacks through form display (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in versions 3.1.21, 3.2.6, 3.3.4, and 3.4.2. Users should upgrade to these or newer versions to protect against this vulnerability. The fix prevents readonly fields from loading submitted data, as implemented in the framework update (Framework Commit).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management