Silverstripe Framework has a XSS via insert media remote file oembed
Moderate severity
GitHub Reviewed
Published
Jan 14, 2025
in
silverstripe/silverstripe-asset-admin
•
Updated Jan 15, 2025
Description
Published to the GitHub Advisory Database
Jan 14, 2025
Reviewed
Jan 14, 2025
Published by the National Vulnerability Database
Jan 14, 2025
Last updated
Jan 15, 2025
Impact
When using the "insert media" functionality, the linked oEmbed JSON includes an HTML attribute which will replace the embed shortcode. The HTML is not sanitized before replacing the shortcode, allowing a script payload to be executed on both the CMS and the front-end of the website.
References
Reported by
James Nicoll from Fujitsu Cyber Security Services
References