Skip to content
OpenAdvisories
Medium · 5.4 CVE-2024-32981 EUVD-2024-2324GHSA-chx7-9x8h-r5mg

Cross-site Scripting vulnerability with encoded payload in silverstripe/framework

Published Jul 17, 2024 · Updated Aug 2, 2024 · Assigned by GitHub_M

Description

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

VendorProductAffectedFixed
silverstripe silverstripe-framework < 5.2.16 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist silverstripe/framework < 5.2.16 5.2.16 GHSA-chx7-9x8h-r5mg

References