{"id":"CVE-2022-24749","published":"2022-03-14T21:45:13Z","modified":"2025-04-22T18:18:36Z","title":"Basic Cross-site Scripting and Unrestricted Upload of File with Dangerous Type in Sylius","vendor":"Sylius","product":"Sylius","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01108,"percentile":0.66666,"provenance":"source"},"cwes":[{"id":"CWE-80","name":"Improper Neutralization of Script-Related HTML Tags in a Web Page"},{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"references":[{"url":"https://github.com/Sylius/Sylius/releases/tag/v1.10.11","tags":["x_refsource_MISC"]},{"url":"https://github.com/Sylius/Sylius/releases/tag/v1.11.2","tags":["x_refsource_MISC"]},{"url":"https://github.com/Sylius/Sylius/releases/tag/v1.9.10","tags":["x_refsource_MISC"]},{"url":"https://github.com/Sylius/Sylius/security/advisories/GHSA-4qrp-27r3-66fj","tags":["x_refsource_CONFIRM"]}],"priority":{"score":17.6,"factors":[{"name":"EPSS percentile","points":13.33},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"sylius","affectedVersions":[{"vendor":"Sylius","product":"Sylius","versions":["< 1.9.10",">= 1.10.0, < 1.10.11",">= 1.11.0, < 1.11.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-22T15:49:14.780831Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"sylius/sylius","vulnerableRanges":["<1.9.10",">=1.10.0, <1.10.11",">=1.11.0, <1.11.2"],"patched":["1.9.10","1.10.11","1.11.2"],"from":["GHSA-4qrp-27r3-66fj"],"provenance":"source"}],"summary":{"text":"The flaw is a stored cross-site scripting and unrestricted file upload issue in Sylius, an open source eCommerce platform, where the admin panel accepts SVG files containing embedded script code. An attacker who can upload such a file can have it executed when it is opened directly in a new tab or loaded outside an IMG tag, with the impact reaching both the admin panel and shop pages; exploitation requires only network access and no authentication, but depends on a user interacting with the malicious file.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:49:58Z"},"euvd":{"id":"EUVD-2022-1312","exploited":false,"provenance":"source"}}