Vulnerability CVE-2022-24749


Published: 2022-03-14   Modified: 2022-03-15

Description:
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.

Type:

CWE-79

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

CVSS2 => (AV:N/AC:M/Au:N/C:N/I:P/A:N)

CVSS Base Score
Impact Subscore
Exploitability Subscore
4.3/10
2.9/10
8.6/10
Exploit range
Attack complexity
Authentication
Remote
Medium
No required
Confidentiality impact
Integrity impact
Availability impact
None
Partial
None
Affected software
Sylius -> Sylius 

 References:
https://github.com/Sylius/Sylius/security/advisories/GHSA-4qrp-27r3-66fj
https://github.com/Sylius/Sylius/releases/tag/v1.11.2
https://github.com/Sylius/Sylius/releases/tag/v1.9.10
https://github.com/Sylius/Sylius/releases/tag/v1.10.11

Copyright 2024, cxsecurity.com

 

Back to Top