CVE-2022-24749
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.
Does this matter?
Lower severity and a low EPSS score (1.11%). Track it; it rarely justifies an emergency change on its own.
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.
- CVSS 3.1
- 6.1 MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS
- 1.11% probability · 64th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-80, CWE-434, CWE-79
- Affected
- sylius/sylius
- Source
- security-advisories@github.com
References
- https://github.com/Sylius/Sylius/releases/tag/v1.10.11Third Party Advisory
- https://github.com/Sylius/Sylius/releases/tag/v1.11.2Third Party Advisory
- https://github.com/Sylius/Sylius/releases/tag/v1.9.10Third Party Advisory
- https://github.com/Sylius/Sylius/security/advisories/GHSA-4qrp-27r3-66fjExploit, Third Party Advisory
- https://github.com/Sylius/Sylius/releases/tag/v1.10.11Third Party Advisory
- https://github.com/Sylius/Sylius/releases/tag/v1.11.2Third Party Advisory
- https://github.com/Sylius/Sylius/releases/tag/v1.9.10Third Party Advisory
- https://github.com/Sylius/Sylius/security/advisories/GHSA-4qrp-27r3-66fjExploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.