GHSA-468j-6jrc-2rjx
silverstripe/framework vulnerable to Cross-site Scripting In `OptionsetField` and `CheckboxSetField`
GHSA-468j-6jrc-2rjx is a medium vulnerability (CVSS 6.1) in silverstripe/framework, published May 27, 2024. No source lists public exploit code. Fixed in silverstripe/framework 3.1.20.
- Severity
- 6.1 MediumCVSS 3.1, GitHub Advisories
- Exploit chance
- UnscoredNo EPSS score yet
- Exploitation
- None knownNot on CISA’s or ENISA’s lists
- Fixed in
3.1.20silverstripe/framework +7 more
Description
List of key / value pairs assigned to OptionsetField or CheckboxSetField do not have a default casting assigned to them. The effect of this is a potential XSS vulnerability in lists where either key or value contain unescaped HTML.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Affected packages
| Package | Affected | Fixed |
|---|---|---|
silverstripe/frameworkPackagist | 3.1.19-rc1 up to 3.1.20 | 3.1.20 |
silverstripe/frameworkPackagist | 3.2.4-rc1 up to 3.2.5 | 3.2.5 |
silverstripe/frameworkPackagist | 3.3.2-rc1 up to 3.3.3 | 3.3.3 |
silverstripe/frameworkPackagist | 3.4.0-rc1 up to 3.4.1 | 3.4.1 |
silverstripe/frameworkPackagist | 3.1.19-rc1 up to 3.1.20, plus listed versions 3.1.193.1.20-rc13.1.20-rc2 | 3.1.20 |
silverstripe/frameworkPackagist | 3.2.4-rc1 up to 3.2.5, plus listed versions 3.2.43.2.5-rc13.2.5-rc2 | 3.2.5 |
silverstripe/frameworkPackagist | 3.3.2-rc1 up to 3.3.3, plus listed versions 3.3.23.3.3-rc13.3.3-rc2 | 3.3.3 |
silverstripe/frameworkPackagist | 3.4.0-rc1 up to 3.4.1, plus listed versions 3.4.03.4.1-rc13.4.1-rc2 | 3.4.1 |
What each source reports
GitHub Advisories Score used 6.1
silverstripe/framework vulnerable to Cross-site Scripting In `OptionsetField` and `CheckboxSetField`
List of key / value pairs assigned to OptionsetField or CheckboxSetField do not have a default casting assigned to them. The effect of this is a potential XSS vulnerability in lists where either key or value contain unescaped HTML.
- Record
GHSA-468j-6jrc-2rjx- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSV 6.1
silverstripe/framework vulnerable to Cross-site Scripting In `OptionsetField` and `CheckboxSetField`
List of key / value pairs assigned to OptionsetField or CheckboxSetField do not have a default casting assigned to them. The effect of this is a potential XSS vulnerability in lists where either key or value contain unescaped HTML.
- Record
GHSA-468j-6jrc-2rjx- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | GitHub Advisories, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
References
github.com/silverstripe/silverstripe-framework/commit/049cdefacfd3122d59d5488c1317f999fe8aacc4
github.com/silverstripe/silverstripe-framework/commit/12a6b357e761f09d818fd0013eb2d85014de79a0
github.com/silverstripe/silverstripe-framework/commit/62a242154ec3508fe9b174a40713c8520ac1684c
github.com/silverstripe/silverstripe-framework/commit/b0ba2015d9684ee7b124dafcf6b59b046e20f8ed
github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2016-015-1.yaml
silverstripe.org/download/security-releases/ss-2016-015
github.com/advisories/GHSA-468j-6jrc-2rjx
github.com/silverstripe/silverstripe-framework