Advisory

GHSA-7cmp-cgg8-4c82

Also known as: CVE-2024-47605

Summary

Silverstripe Framework has a XSS via insert media remote file oembed

Details

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

  • https://www.silverstripe.org/download/security-releases/cve-2024-47605

Reported by

James Nicoll from Fujitsu Cyber Security Services

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-01-14 22:18 UTC
Modified
2025-01-23 17:36 UTC

Affected packages and fixes

silverstripe/framework

Packagist · All systems

Affected

  • introduced 0, fixed 5.3.8 (ecosystem)

Fixed versions

5.3.8

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences