MediumGHSA-v2f9-rv6w-vw8r
Sylius potentially vulnerable to Cross Site Scripting via "Name" field (Taxons, Products, Options, Variants) in Admin Panel
Affected versions
before 1.9.12, 1.10.0-alpha.1 to before 1.10.16, 1.11.0-alpha.1 to before 1.11.17, 1.12.0-alpha.1 to before 1.12.16, 1.13.0-alpha.1 to before 1.13.1 - fixed in 1.9.12Details
### Impact 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. ### Patches The issue is fixed in versions: 1.9.12, 1.10.16, 1.11.17, 1.12.16, 1.13.1 and above. ### Workarounds 1. Create a new file `assets/admin/sylius-lazy-choice-tree.js`: ```js // asset
Is your site exposed?Run a free passive scan. See your platform, versions and the issues on your surface in under a minute.
Check if my site is affected