GitHub Advisory Database
GHSA-jx34-gqqq-r6gm
Stored XSS via HTML fields in SilverStripe Framework
Details
SilverStripe Framework through 4.10.8 allows XSS, inside of script tags that can can be added to website content via XHR by an authenticated CMS user if the cwp-core module is not installed on the sanitise_server_side contig is not set to true in project code.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | silverstripe/framework | From 4.0.0 before 4.10.9 (fixed in 4.10.9) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-25238
- https://docs.silverstripe.org/en/4/changelogs/4.10.1
- https://forum.silverstripe.org/c/releases
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/CVE-2022-25238.yaml
- https://www.silverstripe.org/blog/tag/release
- https://www.silverstripe.org/download/security-releases
- https://www.silverstripe.org/download/security-releases/cve-2022-25238