MediumGHSA-ff6q-3c9c-6cf5CVE-2024-53277

Silverstripe Framework has a XSS in form messages

Published 14 Jan 2025 · Updated 23 Jan 2025

Affected package

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

Details

In some cases, form messages can contain HTML markup. This is an intentional feature, allowing links and other relevant HTML markup for the given message.

Some form messages include content that the user can provide. There are scenarios in the CMS where that content doesn't get correctly sanitised prior to being included in the form message, resulting in an XSS vulnerability.

References

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

Reported by

Leo Diamat from Bastion Security Group

Is GHSA-ff6q-3c9c-6cf5 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.