CVE-2020-24408: Magento 2 Community Edition XSS Vulnerability
6.1
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.78973%
CWE
Published
5/24/2022
Updated
9/7/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
magento/community-edition | composer | <= 2.4.0 | 2.4.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The provided vulnerability information describes a persistent XSS via file upload in Magento, but the GitHub patch and commit diff details are explicitly marked as unavailable. While the vulnerability clearly involves improper input neutralization (CWE-79) in the file upload component, the lack of specific code references or patching details makes it impossible to confidently identify exact vulnerable functions. The description suggests the issue lies in insufficient validation/sanitization during file upload handling and improper output encoding when serving files, but without concrete code examples or patch comparisons, we cannot reliably map this to specific functions in Magento's codebase with high confidence.