CVE-2024-47605
JSON

5.4medium

Cross-site Scripting via insert media remote file oembed in silverstripe-asset-admin

Severity
5.4medium CVSS:3.1 by GitHub_M
Exploit likelihood
1.18% (higher than 68% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-7cmp-cgg8-4c82

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

Product or packageVersionsReported by
silverstripe silverstripe-asset-admin< 5.3.8CVE List
silverstripe/framework (Packagist)before 5.3.8GitHub Advisory Database

All scores

GitHub_M5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
GitHub5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database
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

NVD (es)

silverstripe-asset-admin es una galería de recursos de silverstripe para la gestión de recursos. Al utilizar la función "insert media", el JSON de oEmbed vinculado incluye un atributo HTML que reemplazará el código abreviado de inserción. El HTML no se desinfecta antes de reemplazar el código abreviado, lo que permite que se ejecute un payload de script tanto en el CMS como en el front-end del sitio web. Este problema se ha solucionado en la versión 5.3.8 de silverstripe/framework y se recomienda a los usuarios que actualicen. No existen workarounds conocidos para esta vulnerabilidad.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-47605 changed 2025-01-15CVE Terms of Use
GitHub Advisory DatabaseGHSA-7cmp-cgg8-4c82 changed 2025-01-23CC-BY-4.0
NVDCVE-2024-47605 changed 2026-06-17Public domain