CVE-2019-7882: Magento 2 Community Edition XSS Vulnerability
5.4
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.28987%
CWE
Published
5/24/2022
Updated
2/12/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
magento/community-edition | composer | >= 2.1, < 2.1.18 | 2.1.18 |
magento/community-edition | composer | >= 2.2, < 2.2.9 | 2.2.9 |
magento/community-edition | composer | >= 2.3, < 2.3.2 | 2.3.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper handling of SWF file uploads in the WYSIWYG editor. The identified functions are core components responsible for processing user-uploaded files. The lack of validation/SWF
filtering in these functions (patched in later versions) allowed attackers to inject malicious SWF
files. The XSS occurs when these files are rendered, as SWF
can execute scripts via parameters like 'flashvars'. The confidence is high because these components directly align with the vulnerability's attack vector (authenticated SWF
upload) and Magento's
security patches typically target such core handlers.