# CVE-2022-24749: Basic Cross-site Scripting and Unrestricted Upload of File with Dangerous Type in Sylius

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.11%, higher than 66% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-03-14T21:45:13.000Z
- Modified: 2026-06-17T04:32:25.990Z
- Also known as: GHSA-4qrp-27r3-66fj
- Weaknesses: CWE-79, CWE-80, CWE-434
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- Sylius Sylius: < 1.9.10; >= 1.10.0, < 1.10.11; >= 1.11.0, < 1.11.2; before 1.9.10; from 1.10.0 before 1.10.11; from 1.11.0 before 1.11.2
- sylius/sylius (Packagist): before 1.9.10; from 1.10.0 before 1.10.11; from 1.11.0 before 1.11.2

## Every score

- GitHub_M: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://github.com/Sylius/Sylius/security/advisories/GHSA-4qrp-27r3-66fj> (exploit, third-party-advisory, web)
- <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://nvd.nist.gov/vuln/detail/CVE-2022-24749> (advisory)
- <https://github.com/Sylius/Sylius> (package)

## Sources

- CVE List: [CVE-2022-24749](https://www.cve.org/CVERecord?id=CVE-2022-24749), CVE Terms of Use, modified 2025-04-22
- GitHub Advisory Database: [GHSA-4qrp-27r3-66fj](https://github.com/advisories/GHSA-4qrp-27r3-66fj), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-24749](https://nvd.nist.gov/vuln/detail/CVE-2022-24749), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-24749 · Whole record: https://cve.day/CVE-2022-24749.json · Rebuilt by cve.day 2026-11-25T22:58:10.098Z
