silverstripe/framework is vulnerable to Cross-Site Scripting (XSS)
54
CVE Score
Medium
Cross-Site Scripting (XSS)
The silverstripe/framework CMS exposes an Insert media from web feature that renders oEmbed results through EmbedShortcodeProvider. When the resolved embed HTML contains two or fewer tags, sandboxHtml returns it directly into the page instead of isolating it in a sandboxed iframe, so the embed markup runs in the context of the main document. An attacker who controls the embed response can include event-handler attributes such as onload or a javascript: or data: iframe source, causing script to execute in a CMS user's browser. The fix strips unknown and dangerous attributes and rejects unsafe URL schemes on non-sandboxed iframes.
Upgrade the silverstripe/framework library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and your CMS lets authors insert media from web (embed) URLs that can be attacker-influenced.
3.0.0 - 6.2.1
Fixed in 6.2.2silverstripe/framework is vulnerable to Cross-Site Scripting (XSS) in versions 3.0.0 - 6.2.1.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.