{"id":"CVE-2019-12186","aliases":["GHSA-rc5r-697f-28x6"],"url":"https://o3.security/vulnerability/CVE-2019-12186","summary":"XSS injection in the Grid component of Sylius","details":"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.","published":"2019-12-31T15:15:10.957Z","modified":"2026-07-08T19:01:51.384737Z","cvss":{"score":4.8,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N"},"epss":{"score":0.00552,"percentile":0.44815,"asOf":"2026-09-17"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"sylius/grid","fixedVersion":"1.1.19"},{"ecosystem":"Packagist","name":"sylius/grid","fixedVersion":"1.2.18"},{"ecosystem":"Packagist","name":"sylius/grid","fixedVersion":"1.3.13"},{"ecosystem":"Packagist","name":"sylius/grid","fixedVersion":"1.4.5"},{"ecosystem":"Packagist","name":"sylius/grid","fixedVersion":"1.5.1"},{"ecosystem":"Packagist","name":"sylius/grid-bundle","fixedVersion":"1.1.19"},{"ecosystem":"Packagist","name":"sylius/grid-bundle","fixedVersion":"1.2.18"},{"ecosystem":"Packagist","name":"sylius/grid-bundle","fixedVersion":"1.3.13"},{"ecosystem":"Packagist","name":"sylius/grid-bundle","fixedVersion":"1.4.5"},{"ecosystem":"Packagist","name":"sylius/grid-bundle","fixedVersion":"1.5.1"},{"ecosystem":"Packagist","name":"sylius/sylius","fixedVersion":"1.1.18"},{"ecosystem":"Packagist","name":"sylius/sylius","fixedVersion":"1.2.17"},{"ecosystem":"Packagist","name":"sylius/sylius","fixedVersion":"1.3.12"},{"ecosystem":"Packagist","name":"sylius/sylius","fixedVersion":"1.4.4"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://sylius.com/blog/cve-2019-12186/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-12186"},{"type":"WEB","url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/sylius/grid/CVE-2019-12186.yaml"},{"type":"WEB","url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/sylius/sylius/CVE-2019-12186.yaml"},{"type":"WEB","url":"https://sylius.com/blog/cve-2019-12186"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T19:01:51.384737Z"}}