GHSA-hq4p-5mpr-jj9mmedium4.7No CVE assigned
Silverstripe XSS in dev/build returnURL Parameter
Impact
A XSS risk exists in the returnURL parameter passed to dev/build. An unvalidated url could cause the user to redirect to an unverified third party url outside of the site.
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 |
|---|---|
| Earlier releases before 3.1.14Ecosystem versions | 3.1.14 |
Version evidence: OSV · GHSA-hq4p-5mpr-jj9m
View original version evidence (62 explicit versions)
Original source description
A XSS risk exists in the returnURL parameter passed to dev/build. An unvalidated url could cause the user to redirect to an unverified third party url outside of the site.
This issue is resolved in framework 3.1.14 stable release.
References
- Patch github.com/silverstripe/silverstripe-framework/commit/751d77386c3c6e354b521fa61ff142f95895cca8
- Security advisory github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2015-015-1.yaml
- Source reference github.com/silverstripe/silverstripe-framework
- Security advisory www.silverstripe.org/software/download/security-releases/ss-2015-015