MediumGHSA-7cmp-cgg8-4c82

Silverstripe Framework has a XSS via insert media remote file oembed

Affected versionsbefore 5.3.8 - fixed in 5.3.8

Details

### 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 - https://www.silverstripe.org/download/security-releases/cve-2024-47605 ## Reported by James Nicoll from [Fujitsu Cyber Security Services](https://www.fujitsu.com/nz/services/security/)

Is your site exposed?Run a free passive scan. See your platform, versions and the issues on your surface in under a minute.
Check if my site is affected

Inside rootscan

Illustrative rootscan dashboard

Illustrative product preview with sample data. Explore an interactive sample finding

Connect your Shopify store

Connect once. Keep watch.

Enter your store address to prepare your connection.

Website preview: this prepares a connection summary. No app is installed and no scan runs.

Check this website

No account needed for the free scan.

The free public scan needs no account and does not log in to the site. If you later buy a pentest, you will create an account, prove you control the target, and tick a permission checkbox before any active test starts.

Run the free scan Already have an account? Sign in

No active test starts until you authorize it in the app.