VYPR
Medium severity6.1NVD Advisory· Published Mar 14, 2022· Updated Jun 17, 2026

CVE-2022-24749

CVE-2022-24749

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
sylius/syliusPackagist
< 1.9.101.9.10
sylius/syliusPackagist
>= 1.10.0, < 1.10.111.10.11
sylius/syliusPackagist
>= 1.11.0, < 1.11.21.11.2

Affected products

3
  • Sylius/Sylius2 versions
    cpe:2.3:a:sylius:sylius:*:*:*:*:*:*:*:*+ 1 more
    • cpe:2.3:a:sylius:sylius:*:*:*:*:*:*:*:*range: <1.9.10
    • (no CPE)range: < 1.9.10
  • ghsa-coords
    Range: < 1.9.10

Patches

Vulnerability mechanics

References

6

News mentions

0

No linked articles in our index yet.