{"id":"GHSA-rc5r-697f-28x6","aliases":["CVE-2019-12186"],"title":"XSS injection in the Grid component of Sylius","description":"Grid component of Sylius omits HTML input sanitisation while rendering object implementing __toString() method through the string field type.","severity":"medium","score":4.8,"published":"2020-04-15T21:07:59.000Z","modified":"2026-09-10T03:48:43.977Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"sylius/grid","ranges":[{"events":[{"introduced":"1.0.0"},{"fixed":"1.1.19"}],"type":"ECOSYSTEM"}],"versions":["v1.0.0","v1.0.1","v1.0.10","v1.0.11","v1.0.12","v1.0.13","v1.0.14","v1.0.15","v1.0.16","v1.0.17","v1.0.18","v1.0.2","v1.0.3","v1.0.4","v1.0.5","v1.0.6","v1.0.7","v1.0.8","v1.0.9","v1.1.0","v1.1.0-RC","v1.1.1","v1.1.10","v1.1.11","v1.1.12","v1.1.13","v1.1.14","v1.1.15","v1.1.17","v1.1.18","v1.1.2","v1.1.3","v1.1.4","v1.1.5","v1.1.6","v1.1.7","v1.1.8","v1.1.9"],"fixed":["1.1.19"]},{"ecosystem":"Packagist","name":"sylius/grid","ranges":[{"events":[{"introduced":"1.2.0"},{"fixed":"1.2.18"}],"type":"ECOSYSTEM"}],"versions":["v1.2.0","v1.2.1","v1.2.10","v1.2.11","v1.2.12","v1.2.13","v1.2.14","v1.2.15","v1.2.16","v1.2.17","v1.2.2","v1.2.3","v1.2.4","v1.2.5","v1.2.6","v1.2.7","v1.2.8","v1.2.9"],"fixed":["1.2.18"]},{"ecosystem":"Packagist","name":"sylius/grid","ranges":[{"events":[{"introduced":"1.3.0"},{"fixed":"1.3.13"}],"type":"ECOSYSTEM"}],"versions":["v1.3.0","v1.3.1","v1.3.10","v1.3.11","v1.3.12","v1.3.2","v1.3.3","v1.3.4","v1.3.5","v1.3.6","v1.3.7","v1.3.8","v1.3.9"],"fixed":["1.3.13"]},{"ecosystem":"Packagist","name":"sylius/grid","ranges":[{"events":[{"introduced":"1.4.0"},{"fixed":"1.4.5"}],"type":"ECOSYSTEM"}],"versions":["v1.4.0","v1.4.1","v1.4.2","v1.4.3","v1.4.4"],"fixed":["1.4.5"]},{"ecosystem":"Packagist","name":"sylius/grid","ranges":[{"events":[{"introduced":"1.5.0"},{"fixed":"1.5.1"}],"type":"ECOSYSTEM"}],"versions":["v1.5.0"],"fixed":["1.5.1"]},{"ecosystem":"Packagist","name":"sylius/grid-bundle","ranges":[{"events":[{"introduced":"1.0.0"},{"fixed":"1.1.19"}],"type":"ECOSYSTEM"}],"versions":["1.0.0-patch1","v1.0.0","v1.0.1","v1.0.10","v1.0.11","v1.0.12","v1.0.13","v1.0.14","v1.0.15","v1.0.16","v1.0.17","v1.0.18","v1.0.2","v1.0.3","v1.0.4","v1.0.5","v1.0.6","v1.0.7","v1.0.8","v1.0.9","v1.1.0","v1.1.0-RC","v1.1.1","v1.1.10","v1.1.11","v1.1.12","v1.1.13","v1.1.14","v1.1.15","v1.1.17","v1.1.18","v1.1.2","v1.1.3","v1.1.4","v1.1.5","v1.1.6","v1.1.7","v1.1.8","v1.1.9"],"fixed":["1.1.19"]},{"ecosystem":"Packagist","name":"sylius/grid-bundle","ranges":[{"events":[{"introduced":"1.2.0"},{"fixed":"1.2.18"}],"type":"ECOSYSTEM"}],"versions":["1.2.4-patch1","v1.2.0","v1.2.1","v1.2.10","v1.2.11","v1.2.12","v1.2.13","v1.2.14","v1.2.15","v1.2.16","v1.2.17","v1.2.2","v1.2.3","v1.2.4","v1.2.5","v1.2.6","v1.2.7","v1.2.8","v1.2.9"],"fixed":["1.2.18"]},{"ecosystem":"Packagist","name":"sylius/grid-bundle","ranges":[{"events":[{"introduced":"1.3.0"},{"fixed":"1.3.13"}],"type":"ECOSYSTEM"}],"versions":["v1.3.0","v1.3.1","v1.3.10","v1.3.11","v1.3.12","v1.3.2","v1.3.3","v1.3.4","v1.3.5","v1.3.6","v1.3.7","v1.3.8","v1.3.9"],"fixed":["1.3.13"]},{"ecosystem":"Packagist","name":"sylius/grid-bundle","ranges":[{"events":[{"introduced":"1.4.0"},{"fixed":"1.4.5"}],"type":"ECOSYSTEM"}],"versions":["1.4.0-patch1","v1.4.0","v1.4.1","v1.4.2","v1.4.3","v1.4.4"],"fixed":["1.4.5"]},{"ecosystem":"Packagist","name":"sylius/grid-bundle","ranges":[{"events":[{"introduced":"1.5.0"},{"fixed":"1.5.1"}],"type":"ECOSYSTEM"}],"versions":["v1.5.0"],"fixed":["1.5.1"]},{"ecosystem":"Packagist","name":"sylius/sylius","ranges":[{"events":[{"introduced":"1.0.0"},{"fixed":"1.1.18"}],"type":"ECOSYSTEM"}],"versions":["v1.0.0","v1.0.1","v1.0.10","v1.0.11","v1.0.12","v1.0.13","v1.0.14","v1.0.15","v1.0.16","v1.0.17","v1.0.18","v1.0.2","v1.0.3","v1.0.4","v1.0.5","v1.0.6","v1.0.7","v1.0.8","v1.0.9","v1.1.0","v1.1.0-RC","v1.1.1","v1.1.10","v1.1.11","v1.1.12","v1.1.13","v1.1.14","v1.1.15","v1.1.16","v1.1.17","v1.1.2","v1.1.3","v1.1.4","v1.1.5","v1.1.6","v1.1.7","v1.1.8","v1.1.9"],"fixed":["1.1.18"]},{"ecosystem":"Packagist","name":"sylius/sylius","ranges":[{"events":[{"introduced":"1.2.0"},{"fixed":"1.2.17"}],"type":"ECOSYSTEM"}],"versions":["v1.2.0","v1.2.1","v1.2.10","v1.2.11","v1.2.12","v1.2.13","v1.2.14","v1.2.15","v1.2.16","v1.2.2","v1.2.3","v1.2.4","v1.2.5","v1.2.6","v1.2.7","v1.2.8","v1.2.9"],"fixed":["1.2.17"]},{"ecosystem":"Packagist","name":"sylius/sylius","ranges":[{"events":[{"introduced":"1.3.0"},{"fixed":"1.3.12"}],"type":"ECOSYSTEM"}],"versions":["v1.3.0","v1.3.1","v1.3.10","v1.3.11","v1.3.2","v1.3.3","v1.3.4","v1.3.5","v1.3.6","v1.3.7","v1.3.8","v1.3.9"],"fixed":["1.3.12"]},{"ecosystem":"Packagist","name":"sylius/sylius","ranges":[{"events":[{"introduced":"1.4.0"},{"fixed":"1.4.4"}],"type":"ECOSYSTEM"}],"versions":["v1.4.0","v1.4.1","v1.4.2","v1.4.3"],"fixed":["1.4.4"]}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2019-12186","https://github.com/FriendsOfPHP/security-advisories/blob/master/sylius/grid/CVE-2019-12186.yaml","https://github.com/FriendsOfPHP/security-advisories/blob/master/sylius/sylius/CVE-2019-12186.yaml","https://sylius.com/blog/cve-2019-12186"],"sources":[{"name":"OSV","id":"GHSA-rc5r-697f-28x6","modified":"2026-09-10T03:48:43.977470331Z","url":"https://osv.dev/vulnerability/GHSA-rc5r-697f-28x6"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8}]}