CVE-2022-24749: Basic Cross-site Scripting and Unrestricted Upload of File with Dangerous Type in Sylius

Published Mar 14, 2022
·
Updated

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.

Affected Software

3 affected components
Sylius Sylius<1.9.10
Sylius Sylius>=1.10.0<1.10.11
Sylius Sylius>=1.11.0<1.11.2

Event History

Mar 14, 2022
CVE Published
via MITRE·09:45 PM
Data Sourced
via MITRE·09:45 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is CVE-2022-24749?

CVE-2022-24749 is a vulnerability in the Sylius eCommerce platform that allows for cross-site scripting (XSS) attacks through the upload of SVG files in the admin panel.

2

What is the severity of CVE-2022-24749?

The severity of CVE-2022-24749 is medium with a CVSS score of 6.1.

3

Which versions of Sylius are affected by CVE-2022-24749?

Versions prior to 1.9.10, 1.10.11, and 1.11.2 of Sylius are affected by CVE-2022-24749.

4

How can CVE-2022-24749 be exploited?

CVE-2022-24749 can be exploited by uploading an SVG file containing XSS code in the Sylius admin panel and opening the file outside of the intended context.

5

How can I fix CVE-2022-24749?

To fix CVE-2022-24749, it is recommended to update Sylius to version 1.9.10, 1.10.11, or 1.11.2.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203