~ / search / GHSA-7cmp-cgg8-4c82

GHSA-7cmp-cgg8-4c82

Silverstripe Framework has a XSS via insert media remote file oembed

Source: GitHub Advisory Database (reviewed) Moderate CVE-2024-47605

Packages

EcosystemPackageAffectedFixed in
Packagist silverstripe/framework < 5.3.8 5.3.8

Details

As written in the advisory (Markdown source, shown as plain text).

### 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/)

References

External links from the advisory. They lead to third-party sites.