CVE-2022-24749 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 22, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Sylius/Sylius/releases/tag/v1.10.11 | CVE | Third Party Advisory |
| https://github.com/Sylius/Sylius/releases/tag/v1.11.2 | CVE | Third Party Advisory |
| https://github.com/Sylius/Sylius/releases/tag/v1.9.10 | CVE | Third Party Advisory |
| https://github.com/Sylius/Sylius/security/advisories/GHSA-4qrp-27r3-66fj | CVE | ExploitThird Party Advisory |
| https://github.com/Sylius/Sylius/releases/tag/v1.10.11 | [email protected] | Third Party Advisory |
| https://github.com/Sylius/Sylius/releases/tag/v1.11.2 | [email protected] | Third Party Advisory |
| https://github.com/Sylius/Sylius/releases/tag/v1.9.10 | [email protected] | Third Party Advisory |
| https://github.com/Sylius/Sylius/security/advisories/GHSA-4qrp-27r3-66fj | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-434 | Unrestricted Upload of File with Dangerous Type | [email protected] |
| CWE-80 | Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| sylius sylius | < 1.9.10 >= 1.10.0, < 1.10.11 >= 1.11.0, < 1.11.2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Mar 22, 2022 | Initial Analysis | [email protected] |