Skip to main content

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

CVE-2024-41676

Severity Medium
Score 4.8/10

Summary

Magento-lts is a long-term support alternative to Magento Community Edition (CE). This XSS vulnerability affects the "design/header/welcome", "design/header/logo_src", "design/header/logo_src_small", and "design/header/logo_alt" system configs. They are intended to enable admins to set a text in the two cases, and to define an image URL for the other two cases. But because of previously missing escaping allowed us to input arbitrary HTML and as a consequence also arbitrary JavaScript. This issue affects versions through 20.10.0, and 21.0.0-beta1 through 21.0.0-beta2.

  • LOW
  • NETWORK
  • LOW
  • CHANGED
  • REQUIRED
  • HIGH
  • 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