CVE-2022-24749
published medium CVSS 3.1 · 6.1Basic Cross-site Scripting and Unrestricted Upload of File with Dangerous Type in Sylius
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Sylius | — | Sylius< 1.9.10 · >= 1.10.0, < 1.10.11 · >= 1.11.0, < 1.11.2 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.1 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Sylius | Sylius | < 1.9.10 (affected)>= 1.10.0, < 1.10.11 (affected)>= 1.11.0, < 1.11.2 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-80 CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)
- CWE-434 CWE-434: Unrestricted Upload of File with Dangerous Type
References
4Provider assertions
3GitHub_M · cna
Basic Cross-site Scripting and Unrestricted Upload of File with Dangerous Type in Sylius
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 139efdb7e7f83df281ee4f5ad6e3408d5484f38120edd3b9942be88d1ace3b94
- Ingested
- 23 Sep 2026, 07:58:57 UTC
- Source record
- Official CVE record