silverstripe/silverstripe-framework · Security

Silverstripe Framework has a XSS via insert media remote file oembed

GHSA ID
GHSA-7cmp-cgg8-4c82
CVE ID
CVE-2024-47605
Severity
medium
Published
Updated
CVSS
5.4 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
CVSS v3
5.4 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Description

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

CWEs

References