logo

Database

Server side cross-site scripting In silverstripe/framework

Description

Silverstripe Framework has a XSS via insert media remote file oembed

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

Mitigation

Update Impact

Minimal update. May introduce new vulnerabilities or breaking changes.

Ecosystem
Component
Affected version
Patched versions