GHSA-88jp-9jrv-6368medium6.1No CVE assigned
Silverstripe XSS In GridField print
Impact
A cross-site scripting vulnerability has been discovered in the print view of GridField.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
silverstripe/framework Packagist
| Affected range | Recorded fix |
|---|---|
| From 3.1.0 before 3.1.10Ecosystem versions | 3.1.10 |
Version evidence: OSV · GHSA-88jp-9jrv-6368
View original version evidence (22 explicit versions)
Original source description
A cross-site scripting vulnerability has been discovered in the print view of GridField.
This vulnerability can only be exploited if a user with CMS access has posted malicious or unescaped HTML into any field of an object in a GridField, and the print feature is used.
This has been resolved by ensuring that the print feature safely escapes all fields.
References
- Patch github.com/silverstripe/silverstripe-framework/commit/cebc0d08c5cc8177c2462a963b76e5bc7827146d
- Security advisory github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2015-006-1.yaml
- Source reference github.com/silverstripe/silverstripe-framework
- Security advisory www.silverstripe.org/software/download/security-releases/ss-2015-006