{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2019-12186","id":"CVE-2019-12186","title":"XSS injection in the Grid component of Sylius","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 perfor","descriptionLong":"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-31T14:21:39.000Z","updated":"2026-10-24T10:30:44.231710110Z","reserved":"2019-05-19T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"},{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","rating":"low","source":"NVD"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"sylius/grid","purl":"pkg:composer/sylius/grid","ranges":[">=1.0.0 <1.1.19",">=1.2.0 <1.2.18",">=1.3.0 <1.3.13",">=1.4.0 <1.4.5",">=1.5.0 <1.5.1"],"fixed":["1.1.19","1.2.18","1.3.13","1.4.5","1.5.1"],"advisory":"GHSA-rc5r-697f-28x6"},{"ecosystem":"Packagist","name":"sylius/grid-bundle","purl":"pkg:composer/sylius/grid-bundle","ranges":[">=1.0.0 <1.1.19",">=1.2.0 <1.2.18",">=1.3.0 <1.3.13",">=1.4.0 <1.4.5",">=1.5.0 <1.5.1"],"fixed":["1.1.19","1.2.18","1.3.13","1.4.5","1.5.1"],"advisory":"GHSA-rc5r-697f-28x6"},{"ecosystem":"Packagist","name":"sylius/sylius","purl":"pkg:composer/sylius/sylius","ranges":[">=1.0.0 <1.1.18",">=1.2.0 <1.2.17",">=1.3.0 <1.3.12",">=1.4.0 <1.4.4"],"fixed":["1.1.18","1.2.17","1.3.12","1.4.4"],"advisory":"GHSA-rc5r-697f-28x6"}],"cwes":["CWE-79"],"aliases":["GHSA-rc5r-697f-28x6"],"references":[{"url":"https://sylius.com/blog/cve-2019-12186/","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-12186","tags":["advisory"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/sylius/grid/CVE-2019-12186.yaml","tags":["web"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/sylius/sylius/CVE-2019-12186.yaml","tags":["web"]},{"url":"https://sylius.com/blog/cve-2019-12186","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00552,"epssPercentile":0.46839,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2019-12186","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-12186","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2019-12186","ok":true,"note":"3 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-rc5r-697f-28x6","ok":true,"note":"GHSA-rc5r-697f-28x6"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2019-12186","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}