CVE-2022-24749Sylius
Medium 6.1 No auth needed
Follow: this CVE · Sylius · Sylius We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 1.0% probability of exploitation in 30 days · percentile 63
- Auth required
- No
- Published
- Mar 14, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Sylius.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | sylius/sylius |
< 1.9.10 |
1.9.10 |
composer require "sylius/sylius:^1.9.10" |
| Packagist | sylius/sylius |
≥ 1.10.0 < 1.10.11 |
1.10.11 |
composer require "sylius/sylius:^1.10.11" |
| Packagist | sylius/sylius |
≥ 1.11.0 < 1.11.2 |
1.11.2 |
composer require "sylius/sylius:^1.11.2" |
Per OSV / GitHub Advisories (GHSA-4qrp-27r3-66fj). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| sylius | sylius | < 1.9.10 |
| sylius | sylius | ≥ 1.10.0 < 1.10.11 |
| sylius | sylius | ≥ 1.11.0 < 1.11.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory
- github.com Third Party Advisory
- github.com Third Party Advisory
- github.com Exploit Third Party Advisory