CVE-2020-13971: Shopware vulnerable to Cross-site Scripting
5.4
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.53451%
CWE
Published
5/24/2022
Updated
7/20/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| shopware/platform | composer | < 6.2.3 | 6.2.3 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper input validation in media upload handling. Key functions in the media upload workflow (FileSaver and MediaService) would be responsible for processing uploaded files. The persistence of raw SVG files with embedded JavaScript indicates these components failed to: 1) validate SVG content structure, 2) sanitize dangerous elements, and 3) implement proper Content Security Policy. The high confidence comes from the vulnerability pattern matching typical media handling implementations in Shopware's architecture and the explicit mention of Mediabrowser fileupload as the attack vector.