LowGHSA-mqf3-qpc3-g26q

Silverstripe Framework has a Reflected Cross Site Scripting (XSS) in error message

Published 14 Jan 2025 · Updated 14 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

> [!IMPORTANT] > This vulnerability only affects sites which are in the "dev" environment mode. If your production website is in "dev" mode, it has been misconfigured, and you should immediately swap it to "live" mode. > See https://docs.silverstripe.org/en/developer_guides/debugging/environment_types/ for more information.

If a website has been set to the "dev" environment mode, a URL can be provided which includes an XSS payload which will be executed in the resulting error message.

References

  • https://www.silverstripe.org/download/security-releases/ss-2024-002

Reported by

Gaurav Nayak from Chaleit

Is GHSA-mqf3-qpc3-g26q 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.