CVE-2019-12186
Description
An issue was discovered in Sylius products. Missing input sanitization in sylius/sylius 1.0.x through 1.0.18, 1.1.x through 1.1.17, 1.2.x through 1.2.16, 1.3.x through 1.3.11, and 1.4.x through 1.4.3 and sylius/grid 1.0.x through 1.0.18, 1.1.x through 1.1.18, 1.2.x through 1.2.17, 1.3.x through 1.3.12, 1.4.x through 1.4.4, and 1.5.0 allows an attacker (an admin in the sylius/sylius case) to perform XSS by injecting malicious code into a field displayed in a grid with the "string" field type. The contents are an object, with malicious code returned by the __toString() method of that object.
How to fix
- sylius/grid1.1.19, 1.2.18, 1.3.13, 1.4.5, 1.5.1 or later
- sylius/grid-bundle1.1.19, 1.2.18, 1.3.13, 1.4.5, 1.5.1 or later
- sylius/sylius1.1.18, 1.2.17, 1.3.12, 1.4.4 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| sylius grid | 1.0.0 ≤ v ≤ 1.0.18, 1.1.0 ≤ v ≤ 1.1.18, 1.2.0 ≤ v ≤ 1.2.17, 1.3.0 ≤ v ≤ 1.3.12, 1.4.0 ≤ v ≤ 1.4.4, 1.5.0 | — |
| sylius sylius | 1.0.0 ≤ v ≤ 1.0.18, 1.1.0 ≤ v ≤ 1.1.17, 1.2.0 ≤ v ≤ 1.2.16, 1.3.0 ≤ v ≤ 1.3.11, 1.4.0 ≤ v ≤ 1.4.3 | — |
| sylius/gridPackagist | 1.0.0 ≤ v < 1.1.19, 1.2.0 ≤ v < 1.2.18, 1.3.0 ≤ v < 1.3.13, 1.4.0 ≤ v < 1.4.5, 1.5.0 ≤ v < 1.5.1 | 1.1.19, 1.2.18, 1.3.13, 1.4.5, 1.5.1 |
| sylius/grid-bundlePackagist | 1.0.0 ≤ v < 1.1.19, 1.2.0 ≤ v < 1.2.18, 1.3.0 ≤ v < 1.3.13, 1.4.0 ≤ v < 1.4.5, 1.5.0 ≤ v < 1.5.1 | 1.1.19, 1.2.18, 1.3.13, 1.4.5, 1.5.1 |
| sylius/syliusPackagist | 1.0.0 ≤ v < 1.1.18, 1.2.0 ≤ v < 1.2.17, 1.3.0 ≤ v < 1.3.12, 1.4.0 ≤ v < 1.4.4 | 1.1.18, 1.2.17, 1.3.12, 1.4.4 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.