MediumGHSA-chx7-9x8h-r5mgCVE-2024-32981

Silverstripe Framework has a Cross-site Scripting vulnerability with encoded payload

Published 17 Jul 2024 · Updated 10 Sept 2026

Affected package

Affected
<5.2.16
Fixed in
5.2.16
Update to the fixed version for your release line, for example:composer require silverstripe/framework:^5.2.16

Details

Impact

A bad actor with access to edit content in the CMS could 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.

References

  • https://www.silverstripe.org/download/security-releases/cve-2024-32981

Is GHSA-chx7-9x8h-r5mg in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected silverstripe/framework, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.