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.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | sylius/grid | >= 1.0.0, < 1.1.19 | 1.1.19 | GHSA-rc5r-697f-28x6 |
| Packagist | sylius/grid | >= 1.2.0, < 1.2.18 | 1.2.18 | GHSA-rc5r-697f-28x6 |
| Packagist | sylius/grid | >= 1.3.0, < 1.3.13 | 1.3.13 | GHSA-rc5r-697f-28x6 |
| Packagist | sylius/grid | >= 1.4.0, < 1.4.5 | 1.4.5 | GHSA-rc5r-697f-28x6 |
| Packagist | sylius/grid | >= 1.5.0, < 1.5.1 | 1.5.1 | GHSA-rc5r-697f-28x6 |
| Packagist | sylius/grid-bundle | >= 1.0.0, < 1.1.19 | 1.1.19 | GHSA-rc5r-697f-28x6 |
| Packagist | sylius/grid-bundle | >= 1.2.0, < 1.2.18 | 1.2.18 | GHSA-rc5r-697f-28x6 |
| Packagist | sylius/grid-bundle | >= 1.3.0, < 1.3.13 | 1.3.13 | GHSA-rc5r-697f-28x6 |
| Packagist | sylius/grid-bundle | >= 1.4.0, < 1.4.5 | 1.4.5 | GHSA-rc5r-697f-28x6 |
| Packagist | sylius/grid-bundle | >= 1.5.0, < 1.5.1 | 1.5.1 | GHSA-rc5r-697f-28x6 |
| Packagist | sylius/sylius | >= 1.0.0, < 1.1.18 | 1.1.18 | GHSA-rc5r-697f-28x6 |
| Packagist | sylius/sylius | >= 1.2.0, < 1.2.17 | 1.2.17 | GHSA-rc5r-697f-28x6 |
| Packagist | sylius/sylius | >= 1.3.0, < 1.3.12 | 1.3.12 | GHSA-rc5r-697f-28x6 |
| Packagist | sylius/sylius | >= 1.4.0, < 1.4.4 | 1.4.4 | GHSA-rc5r-697f-28x6 |