Silverstripe Framework has a XSS vulnerability in HTML editor
Moderate severity
GitHub Reviewed
Published
Apr 10, 2025
in
silverstripe/silverstripe-framework
•
Updated Apr 10, 2025
Description
Published by the National Vulnerability Database
Apr 10, 2025
Published to the GitHub Advisory Database
Apr 10, 2025
Reviewed
Apr 10, 2025
Last updated
Apr 10, 2025
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 attack.
Reported by
James Nicoll from Fujitsu Cyber
References
References