CVE-2022-24749

Sylius is an open source eCommerce platform. In versions prior to 1.9.10, 1.10.11, and 1.11.2, it is possible to upload an SVG file containing cross-site scripting (XSS) code in the admin panel. In order to perform a XSS attack, the file itself has to be open in a new card or loaded outside of the IMG tag. The problem applies both to the files opened on the admin panel and shop pages. The issue is fixed in versions 1.9.10, 1.10.11, and 1.11.2. As a workaround, require a library that adds on-upload file sanitization and overwrite the service before writing the file to the filesystem. The GitHub Security Advisory contains more specific information about the workaround.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:sylius:sylius:*:*:*:*:*:*:*:*
cpe:2.3:a:sylius:sylius:*:*:*:*:*:*:*:*
cpe:2.3:a:sylius:sylius:*:*:*:*:*:*:*:*

History

22 Mar 2022, 15:08

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : 4.3
v3 : 6.1
CWE CWE-434
CWE-80
CWE-79
First Time Sylius
Sylius sylius
CPE cpe:2.3:a:sylius:sylius:*:*:*:*:*:*:*:*
References (MISC) https://github.com/Sylius/Sylius/releases/tag/v1.9.10 - (MISC) https://github.com/Sylius/Sylius/releases/tag/v1.9.10 - Third Party Advisory
References (CONFIRM) https://github.com/Sylius/Sylius/security/advisories/GHSA-4qrp-27r3-66fj - (CONFIRM) https://github.com/Sylius/Sylius/security/advisories/GHSA-4qrp-27r3-66fj - Exploit, Third Party Advisory
References (MISC) https://github.com/Sylius/Sylius/releases/tag/v1.11.2 - (MISC) https://github.com/Sylius/Sylius/releases/tag/v1.11.2 - Third Party Advisory
References (MISC) https://github.com/Sylius/Sylius/releases/tag/v1.10.11 - (MISC) https://github.com/Sylius/Sylius/releases/tag/v1.10.11 - Third Party Advisory

14 Mar 2022, 22:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-03-14 22:15

Updated : 2023-12-10 14:22


NVD link : CVE-2022-24749

Mitre link : CVE-2022-24749

CVE.ORG link : CVE-2022-24749


JSON object : View

Products Affected

sylius

  • sylius
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

CWE-434

Unrestricted Upload of File with Dangerous Type

CWE-80

Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)