Vulnerability DatabaseGHSA-gp6m-fq6h-cjcx

GHSA-gp6m-fq6h-cjcx
PHP vulnerability analysis and mitigation

Overview

A stored Cross-Site Scripting (XSS) vulnerability (CVE-2024-20717) was identified in OpenMage/Magento LTS, affecting versions 20.0.0 to 20.5.0 and versions prior to 19.5.3. The vulnerability was disclosed on February 27, 2024, and impacts the admin file form functionality where filenames are not properly escaped in certain situations (GitHub Advisory, Adobe Advisory).

Technical details

The vulnerability exists in the Mage_Adminhtml_Block_System_Config_Form_Field_File component, which fails to properly escape filename values in specific scenarios. The vulnerability has been assigned a CVSS v3.1 base score of 5.4 (Moderate), with the following vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N. This indicates network vector attack capability, low attack complexity, required low privileges, and user interaction, with changed scope and low impacts on confidentiality and integrity (GitHub Advisory).

Impact

The vulnerability affects administrators who have access to any file upload field in the admin interface, both in core or custom implementations. When exploited, malicious JavaScript can be executed in a victim's browser when they navigate to pages containing the vulnerable field, potentially compromising admin session security (GitHub Advisory).

Exploitability

A proof of concept exists demonstrating the vulnerability exploitation. The attack involves creating an empty file with a malicious filename, navigating to System > Configuration > Sales | Payment Methods, configuring PayPal Express Checkout, selecting API Certificate from authentication methods, and choosing the malicious file. This results in both immediate and stored XSS execution (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in versions 20.5.0 and 19.5.3. Users are advised to upgrade to these patched versions to mitigate the risk (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-wg23-69c2-gjc8CRITICAL9.1
  • PHP logoPHP
  • craftcms/cms
NoYesAug 07, 2026
CVE-2026-71488HIGH7.5
  • PHP logoPHP
  • php-league-commonmark
NoYesAug 06, 2026
CVE-2026-62996MEDIUM6.9
  • PHP logoPHP
  • smarty/smarty
NoYesAug 07, 2026
CVE-2026-62992MEDIUM6.9
  • PHP logoPHP
  • smarty/smarty
NoYesAug 07, 2026
CVE-2026-71478MEDIUM6.1
  • PHP logoPHP
  • league/commonmark
NoYesAug 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management