Skip to main content

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

CVE-2024-47605

Severity Medium
Score 5.4/10

Summary

The 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 that 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, and users are advised to upgrade. There are no known workarounds for this vulnerability. This issue affects silverstripe/framework versions prior to 5.3.8 and 6.0.0-alpha1.

  • LOW
  • NETWORK
  • LOW
  • UNCHANGED
  • REQUIRED
  • NONE
  • LOW
  • NONE

CWE-79 - Cross Site Scripting

Cross-Site Scripting, commonly referred to as XSS, is the most dominant class of vulnerabilities. It allows an attacker to inject malicious code into a pregnable web application and victimize its users. The exploitation of such a weakness can cause severe issues such as account takeover, and sensitive data exfiltration. Because of the prevalence of XSS vulnerabilities and their high rate of exploitation, it has remained in the OWASP top 10 vulnerabilities for years.

Advisory Timeline

  • Published