Cross-site Scripting Affecting openmage/magento-lts package, versions <20.10.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (16th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Scripting vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-OPENMAGEMAGENTOLTS-7573317
  • published30 Jul 2024
  • disclosed29 Jul 2024
  • creditAakash Adhikari

Introduced: 29 Jul 2024

CVE-2024-41676  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade openmage/magento-lts to version 20.10.1 or higher.

Overview

openmage/magento-lts is a This repository is the home of an unofficial community-driven project.

Affected versions of this package are vulnerable to Cross-site Scripting due to improper escaping of user input in the admin system configurations for design/header/welcome, design/header/logo_src, design/header/logo_src_small, and design/header/logo_alt. An attacker can execute arbitrary JavaScript by inserting malicious HTML or JavaScript code into these fields.

Workaround

This vulnerability can be mitigated by restricting access to the System Configs and checking templates where these settings are used to apply proper HTML filtering.

References

CVSS Scores

version 4.0
version 3.1