medium6.1No CVE yet
GHSA-j982-5jv7-v43r
Silverstripe Form field validation message XSS vulnerability
Impact
A high level XSS risk has been identified in the encoding of validation messages in certain FormField classes. Certain fields such as the NumericField and DropdownField have been identified, but any form field which presents any invalid content as a part of its validation response will be at risk.
An attacker can exploit this over the network, without logging in, but a user has to do something, such as open a file or a link. If it succeeds: low risk of data being read, low risk of data or systems being changed. The attack can reach beyond the vulnerable component itself.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | silverstripe/framework | >= 3.0.0, < 3.1.16 | 3.1.16 |
| composer | silverstripe/framework | >= 3.2.0, < 3.2.1 | 3.2.1 |
Weakness classification
References
- GitHub advisory
- https://github.com/advisories/GHSA-j982-5jv7-v43r
- https://github.com/silverstripe/silverstripe-framework/commit/245e0aae2f5f3eb0acba1d198ad8e196bb224462
- https://github.com/silverstripe/silverstripe-framework/commit/bc1b2893accba6401c03f9ea3b0cbc4621c7a02c
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2015-026-1.yaml
- https://www.silverstripe.org/download/security-releases/ss-2015-026