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

    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 ID SNYK-PHP-OPENMAGEMAGENTOLTS-7573317
  • published 30 Jul 2024
  • disclosed 29 Jul 2024
  • credit Aakash Adhikari

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
Expand this section

Snyk

Recommended
5.1 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    None
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    Active
  • Confidentiality (VC)
    None
  • Integrity (VI)
    Low
  • Availability (VA)
    None
  • Confidentiality (SC)
    Low
  • Integrity (SI)
    Low
  • Availability (SA)
    None