CVE-2022-24749
MEDIUM 6.1CVSS 3.1Improper sanitize of SVG files during content upload ('Cross-site Scripting') in sylius/sylius
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.
- Published
- 14 Mar 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-434CWE-79CWE-80
- Also known as
- GHSA-4qrp-27r3-66fj
- Sources
- NVDJSONOSV GHSA-4qrp-27r3-66fjJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | sylius | syliuscpe:2.3:a:sylius:sylius:*:*:*:*:*:*:*:* |
< 1.9.10 | 1.9.10 |
| NVD | sylius | syliuscpe:2.3:a:sylius:sylius:*:*:*:*:*:*:*:* |
>= 1.10.0, < 1.10.11 | 1.10.11 |
| NVD | sylius | syliuscpe:2.3:a:sylius:sylius:*:*:*:*:*:*:*:* |
>= 1.11.0, < 1.11.2 | 1.11.2 |
| OSV | Packagist | sylius/sylius | < 1.9.10 | 1.9.10 |
| OSV | Packagist | sylius/sylius | >= 1.10.0, < 1.10.11 | 1.10.11 |
| OSV | Packagist | sylius/sylius | >= 1.11.0, < 1.11.2 | 1.11.2 |
References
- https://github.com/Sylius/Sylius/releases/tag/v1.10.11 · Third Party Advisory, WEB
- https://github.com/Sylius/Sylius/releases/tag/v1.11.2 · Third Party Advisory, WEB
- https://github.com/Sylius/Sylius/releases/tag/v1.9.10 · Third Party Advisory, WEB
- https://github.com/Sylius/Sylius/security/advisories/GHSA-4qrp-27r3-66fj · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-24749 · ADVISORY
- https://github.com/Sylius/Sylius · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 14 Mar 2022)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 14 Mar 2022)