Vulnerability Details : CVE-2022-24749
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.
Vulnerability category: Cross site scripting (XSS)
Products affected by CVE-2022-24749
- cpe:2.3:a:sylius:sylius:*:*:*:*:*:*:*:*
- cpe:2.3:a:sylius:sylius:*:*:*:*:*:*:*:*
- cpe:2.3:a:sylius:sylius:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-24749
0.11%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 46 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-24749
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.3
|
MEDIUM | AV:N/AC:M/Au:N/C:N/I:P/A:N |
8.6
|
2.9
|
NIST | |
6.1
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
2.8
|
2.7
|
NIST | |
6.1
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
2.8
|
2.7
|
GitHub, Inc. |
CWE ids for CVE-2022-24749
-
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.Assigned by: nvd@nist.gov (Primary)
-
The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special characters such as "<", ">", and "&" that could be interpreted as web-scripting elements when they are sent to a downstream component that processes web pages.Assigned by: security-advisories@github.com (Secondary)
-
The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.Assigned by: security-advisories@github.com (Secondary)
References for CVE-2022-24749
-
https://github.com/Sylius/Sylius/releases/tag/v1.11.2
Release v1.11.2 · Sylius/Sylius · GitHubThird Party Advisory
-
https://github.com/Sylius/Sylius/releases/tag/v1.9.10
Release v1.9.10 · Sylius/Sylius · GitHubThird Party Advisory
-
https://github.com/Sylius/Sylius/releases/tag/v1.10.11
Release v1.10.11 · Sylius/Sylius · GitHubThird Party Advisory
-
https://github.com/Sylius/Sylius/security/advisories/GHSA-4qrp-27r3-66fj
Improper sanitize of SVG files during content upload ('Cross-site Scripting') in Sylius/Sylius · Advisory · Sylius/Sylius · GitHubExploit;Third Party Advisory
Jump to