GHSA-r9vp-fp72-xgf7
silverstripe/framework's `Member.Name` is not escaped
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- Required
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
What each source reports
GitHub Advisories Score used 5.4
silverstripe/framework's `Member.Name` is not escaped
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.
- Record
GHSA-r9vp-fp72-xgf7- CVSS 3.1
- 5.4 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSV 5.4
silverstripe/framework's `Member.Name` is not escaped
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.
- Record
GHSA-r9vp-fp72-xgf7- CVSS 3.1
- 5.4 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
Affected packages
| Package | Affected | Fixed |
|---|---|---|
silverstripe/frameworkPackagist | 3.1.9-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.9-rc1 up to 3.1.20, plus listed versions 3.1.103.1.10-rc13.1.10-rc23.1.113.1.11-rc1 Show 19 moreShow less3.1.123.1.133.1.13-rc13.1.143.1.14-rc13.1.153.1.163.1.16-rc13.1.173.1.17-rc13.1.17-rc23.1.183.1.18-rc13.1.18-rc23.1.193.1.19-rc13.1.20-rc13.1.20-rc23.1.9 | 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 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | GitHub Advisories, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
GHSA-r9vp-fp72-xgf7 is a medium vulnerability (CVSS 5.4) in silverstripe/framework, published May 27, 2024. No source lists public exploit code. Fixed in silverstripe/framework 3.1.20.
References
github.com/silverstripe/silverstripe-framework/commit/281b0de571fe0ae159ac47891c02acf2214fa619
github.com/silverstripe/silverstripe-framework/commit/6817c57f64b9eb2b271b81662cd83b074a3daee4
github.com/silverstripe/silverstripe-framework/commit/83e3302c0425d9b0e4fe42e82e3df03379f4dca5
github.com/silverstripe/silverstripe-framework/commit/8bbf1caae665a07b3e44e8d5d32556a03d38c296
github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2016-013-1.yaml
silverstripe.org/download/security-releases/ss-2016-013
github.com/advisories/GHSA-r9vp-fp72-xgf7
github.com/silverstripe/silverstripe-framework