XSS in Sylius

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.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.

EPSS exploit prediction

EPSS: 0.011 (64.5th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 65th percentile — 64.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2022-24749: held from 0.011 to 0.011.

EPSS over last 30 days · oldest: 0.011 · newest: 0.011 · change: 0.000

Affected products

  • Sylius — versions < 1.9.10, >= 1.10.0, < 1.10.11, >= 1.11.0, < 1.11.2

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2022-24749?
CVE-2022-24749 is a medium-severity vulnerability in Sylius, classified under Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS). CVSS score: 6.1/10. Published 2022-03-14.
How severe is CVE-2022-24749?
Medium severity. CVSS v3 base score is 6.1 out of 10.