Sylius potentially vulnerable to Cross Site Scripting via "Name" field (Taxons, Products, Options, Variants) in Admin Panel
Sylius
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| sylius/sylius Packagist |
|
|
Sylius
| Product | Affected | Fixed in |
|---|---|---|
| sylius/sylius Packagist |
|
|
1.12.161.13.1Sylius is an open source eCommerce platform. Prior to 1.12.16 and 1.13.1, there is a possibility to execute javascript code in the Admin panel. In order to perform an XSS attack input a script into Name field in which of the resources: Taxons, Products, Product Options or Product Variants. The code will be executed while using an autocomplete field with one of the listed entities in the Admin Panel. Also for the taxons in the category tree on the product form.The issue is fixed in versions: 1.12.16, 1.13.1.
From the CVE record · GitHub_M
Sylius can execute JavaScript entered in the Name field of a Taxon, Product, Product Option, or Product Variant. The script runs when someone uses an autocomplete field for one of those resources in the Admin panel, or views taxons in the category tree on the product form. The input does not specify what access an attacker needs to set the name.
Operators using Packagist sylius/sylius versions below 1.9.12, from 1.10.0-alpha.1 to below 1.10.16, from 1.11.0-alpha.1 to below 1.11.17, from 1.12.0-alpha.1 to below 1.12.16, or from 1.13.0-alpha.1 to below 1.13.1 should check their installations.