Vulnerabilities · 2024 · Silverstripe
CVE-2024-32981
Silverstripe Framework vulnerability
Silverstripe framework is the PHP framework forming the base for the Silverstripe CMS. In affected versions a bad actor with access to edit content in the CMS could add send a specifically crafted encoded payload to the server, which could be used to inject a JavaScript payload on the front end of the site. The payload would be sanitised on the client-side, but server-side sanitisation doesn't catch it. The server-side sanitisation logic has been updated to sanitise against this type of attack in version 5.2.16. All users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected products
Framework. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Silverstripe Framework runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- www.silverstripe.org/download/security-releases/cve-2024-32981 · Vendor Advisory
- github.com/silverstripe/silverstripe-framework/commit/b8d20dc9d531550e06fd7da7a0eafa551922 · Patch
- github.com/silverstripe/silverstripe-framework/security/advisories/GHSA-chx7-9x8h-r5mg · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2024-32981
- github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/CVE-2024-32
- github.com/advisories/GHSA-chx7-9x8h-r5mg
- nvd.nist.gov/vuln/detail/CVE-2024-32981
- cve.org/CVERecord?id=CVE-2024-32981
More vulnerabilities in Silverstripe products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.