The core template framework/templates/Includes/GridField_print.ss uses "Printed by $Member.Name".
If the currently logged in members first name or surname contain XSS, this prints the raw HTML out, because Member->getName() just returns the raw FirstName + Surname as a string, which is injected directly.
| Software | From | Fixed in |
|---|---|---|
silverstripe / framework
|
3.1.9-rc1 | 3.1.20 |
silverstripe / framework
|
3.2.4-rc1 | 3.2.5 |
silverstripe / framework
|
3.3.2-rc1 | 3.3.3 |
silverstripe / framework
|
3.4.0-rc1 | 3.4.1 |