Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. openmage/magento-lts
  4. ›
  5. CVE-2024-41676

CVE-2024-41676: Magento LTS vulnerable to stored Cross-site Scripting (XSS) in admin system configs

July 29, 2024

This XSS vulnerability is about the system configs

  • design/header/welcome
  • design/header/logo_src
  • design/header/logo_src_small
  • design/header/logo_alt

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 to input arbitrary html and as a consequence also arbitrary JavaScript.

While this is in most usage scenarios not a relevant issue, some people work with more restrictive roles in the backend. Here the ability to inject JavaScript with these settings would be an unintended and unwanted privilege.

References

  • github.com/OpenMage/magento-lts
  • github.com/OpenMage/magento-lts/commit/484cf8afc550e98bbf2c03fbb29a8450a32e7948
  • github.com/OpenMage/magento-lts/security/advisories/GHSA-5vrp-638w-p8m2
  • github.com/advisories/GHSA-5vrp-638w-p8m2
  • nvd.nist.gov/vuln/detail/CVE-2024-41676

Code Behaviors & Features

Detect and mitigate CVE-2024-41676 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 20.10.1

Fixed versions

  • 20.10.1

Solution

Upgrade to version 20.10.1 or above.

Impact 4.8 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/openmage/magento-lts/CVE-2024-41676.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:05 +0000.