# CVE-2019-12186: XSS injection in the Grid component of Sylius

- Severity: Medium 4.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.55%, higher than 47% of CVEs (2026-12-01)
- Published: 2019-12-31T14:21:39.000Z
- Modified: 2026-09-10T03:48:43.977Z
- Also known as: GHSA-rc5r-697f-28x6
- Weaknesses: CWE-79
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- sylius/grid (Packagist): from 1.0.0 before 1.1.19; from 1.2.0 before 1.2.18; from 1.3.0 before 1.3.13; from 1.4.0 before 1.4.5; from 1.5.0 before 1.5.1
- sylius/grid-bundle (Packagist): from 1.0.0 before 1.1.19; from 1.2.0 before 1.2.18; from 1.3.0 before 1.3.13; from 1.4.0 before 1.4.5; from 1.5.0 before 1.5.1
- sylius/sylius (Packagist): from 1.0.0 before 1.1.18; from 1.2.0 before 1.2.17; from 1.3.0 before 1.3.12; from 1.4.0 before 1.4.4
- sylius grid: from 1.0.0 up to 1.0.18; from 1.1.0 up to 1.1.18; from 1.2.0 up to 1.2.17; from 1.3.0 up to 1.3.12; from 1.4.0 up to 1.4.4; 1.5.0
- sylius sylius: from 1.0.0 up to 1.0.18; from 1.1.0 up to 1.1.17; from 1.2.0 up to 1.2.16; from 1.3.0 up to 1.3.11; from 1.4.0 up to 1.4.3

## Every score

- GitHub: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://sylius.com/blog/cve-2019-12186/> (vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2019-12186> (advisory)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/sylius/grid/CVE-2019-12186.yaml> (web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/sylius/sylius/CVE-2019-12186.yaml> (web)
- <https://sylius.com/blog/cve-2019-12186> (web)

## Sources

- CVE List: [CVE-2019-12186](https://www.cve.org/CVERecord?id=CVE-2019-12186), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-rc5r-697f-28x6](https://github.com/advisories/GHSA-rc5r-697f-28x6), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2019-12186](https://nvd.nist.gov/vuln/detail/CVE-2019-12186), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-12186 · Whole record: https://cve.day/CVE-2019-12186.json · Rebuilt by cve.day 2026-11-25T22:57:49.128Z
