Silverstripe Framework has a Reflected Cross Site Scripting (XSS) in error message
Low severity
GitHub Reviewed
Published
Jan 14, 2025
in
silverstripe/silverstripe-framework
•
Updated Jan 14, 2025
Description
Published to the GitHub Advisory Database
Jan 14, 2025
Reviewed
Jan 14, 2025
Last updated
Jan 14, 2025
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
Reported by
Gaurav Nayak from Chaleit
References