Vulnerability · Published Jan 14, 2025 · Assigned by GitHub_M
CVE-2024-47605Cross-site Scripting via insert media remote file oembed in silverstripe-asset-admin
Medium 5.4
In plain English
A medium-severity cross-site scripting in silverstripe-asset-admin from silverstripe. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 68% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
silverstripe-asset-admin is a silverstripe assets gallery for asset management. 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. This issue has been addressed in silverstripe/framework version 5.3.8 and users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | silverstripe/framework | 5.3.8 | GHSA-7cmp-cgg8-4c82 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| silverstripe | silverstripe-asset-admin | < 5.3.8 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
References
- https://github.com/silverstripe/silverstripe-asset-admin/security/advisories/GHSA-7cmp-cgg8-4c82 x_refsource_CONFIRM
- https://github.com/silverstripe/silverstripe-framework/commit/09b5052c86932f273e0d733428c9aade70ff2a4a x_refsource_MISC
- https://www.silverstripe.org/download/security-releases/cve-2024-47605 x_refsource_MISC