ADVISORIES

GitHub Advisory Database

GHSA-7cmp-cgg8-4c82

Silverstripe Framework has a XSS via insert media remote file oembed

Moderate CVE-2024-47605

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

Affected packages

EcosystemPackageAffected versions
Packagistsilverstripe/framework
All versions before 5.3.8 (fixed in 5.3.8)

References