Silverstripe XSS in shortcodes
Moderate severity
GitHub Reviewed
Published
Nov 21, 2022
to the GitHub Advisory Database
•
Updated Sep 20, 2023
Description
Published to the GitHub Advisory Database
Nov 21, 2022
Reviewed
Nov 21, 2022
Published by the National Vulnerability Database
Nov 23, 2022
Last updated
Sep 20, 2023
A malicious content author could add arbitrary attributes to HTML editor shortcodes which could be used to inject a JavaScript payload on the front end of the site. The shortcode providers that ship with Silverstripe CMS have been reviewed and attribute whitelists have been implemented where appropriate to negate this risk.
References