MediumGHSA-rc5r-697f-28x6CVE-2019-12186

XSS injection in the Grid component of Sylius

Published 15 Apr 2020 · Updated 10 Sept 2026

Is your project on an affected sylius/grid?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Laravel or PHP apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected packages

sylius/gridComposer
Affected
>=1.0.0 <1.1.19
Fixed in
1.1.19
Update to the fixed version for your release line, for example:composer require sylius/grid:^1.1.19
sylius/gridComposer
Affected
>=1.2.0 <1.2.18
Fixed in
1.2.18
Update to the fixed version for your release line, for example:composer require sylius/grid:^1.2.18
sylius/gridComposer
Affected
>=1.3.0 <1.3.13
Fixed in
1.3.13
Update to the fixed version for your release line, for example:composer require sylius/grid:^1.3.13
sylius/gridComposer
Affected
>=1.4.0 <1.4.5
Fixed in
1.4.5
Update to the fixed version for your release line, for example:composer require sylius/grid:^1.4.5
sylius/gridComposer
Affected
>=1.5.0 <1.5.1
Fixed in
1.5.1
Update to the fixed version for your release line, for example:composer require sylius/grid:^1.5.1
Affected
>=1.0.0 <1.1.19
Fixed in
1.1.19
Update to the fixed version for your release line, for example:composer require sylius/grid-bundle:^1.1.19
Affected
>=1.2.0 <1.2.18
Fixed in
1.2.18
Update to the fixed version for your release line, for example:composer require sylius/grid-bundle:^1.2.18
Affected
>=1.3.0 <1.3.13
Fixed in
1.3.13
Update to the fixed version for your release line, for example:composer require sylius/grid-bundle:^1.3.13
Affected
>=1.4.0 <1.4.5
Fixed in
1.4.5
Update to the fixed version for your release line, for example:composer require sylius/grid-bundle:^1.4.5
Affected
>=1.5.0 <1.5.1
Fixed in
1.5.1
Update to the fixed version for your release line, for example:composer require sylius/grid-bundle:^1.5.1
Affected
>=1.0.0 <1.1.18
Fixed in
1.1.18
Update to the fixed version for your release line, for example:composer require sylius/sylius:^1.1.18
Affected
>=1.2.0 <1.2.17
Fixed in
1.2.17
Update to the fixed version for your release line, for example:composer require sylius/sylius:^1.2.17
Affected
>=1.3.0 <1.3.12
Fixed in
1.3.12
Update to the fixed version for your release line, for example:composer require sylius/sylius:^1.3.12
Affected
>=1.4.0 <1.4.4
Fixed in
1.4.4
Update to the fixed version for your release line, for example:composer require sylius/sylius:^1.4.4

Details

Grid component of Sylius omits HTML input sanitisation while rendering object implementing __toString() method through the string field type.

Is GHSA-rc5r-697f-28x6 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected sylius/grid, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.