CVE-2024-32981

Medium

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.

SeverityMedium
CVSS5.4
Exploit probability—
ProductSilverstripe Framework
PublishedJul 17, 2024
First seenJul 17, 2024

How to fix

Update
  • silverstripe framework5.2.16 or later
  • silverstripe/framework5.2.16 or later

Affected products

ProductAffected versionsFixed in
silverstripe frameworkv < 5.2.165.2.16
silverstripe/frameworkPackagistv < 5.2.165.2.16

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.