CVE-2022-24749

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-24749
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-24749.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-24749
Aliases
Withdrawn
2024-05-08T06:51:49.291607Z
Published
2022-03-14T22:15:07Z
Modified
2023-11-01T04:58:07.528276Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/sylius/sylius

Affected ranges