GitHub Advisoryadvisory · Packagist
GHSA-hq4p-5mpr-jj9m Silverstripe XSS in dev/build returnURL Parameter
MEDIUM
Official page ↗
- Ecosystem
- Packagist
- Packages
- silverstripe/framework
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2024-05-23
Affected packages
• Packagist silverstripe/framework: < 3.1.14 → fixed in 3.1.14
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.
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://github.com/silverstripe/silverstripe-framework/commit/751d77386c3c6e354b521fa61ff142f95895cca8 web
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2015-015-1.yaml web
- https://github.com/silverstripe/silverstripe-framework package
- https://www.silverstripe.org/software/download/security-releases/ss-2015-015 web