# XSS injection in the Grid component of Sylius

Advisory record · `GHSA-rc5r-697f-28x6`

- **Identifiers:** `GHSA-rc5r-697f-28x6` · `CVE-2019-12186` · `PKSA-7g19-4q79-335z` · `PKSA-pvd8-4kh3-vpx1` · `PKSA-t4p9-pkxf-yn2y`
- **State:** Confirmed
- **Severity:** CVSS 4.8 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-79](https://cwe.mitre.org/data/definitions/79.html)
- **Tags:** [Cross-site scripting (XSS)](https://agentprime.io/advisories/tag/xss.md)
- **Published:** 15 Apr 2020
- **Updated:** 10 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 15 Apr 2020, 21:07 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `sylius/grid` (Packagist): affected `>=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 in `1.1.19`, `1.2.18`, `1.3.13`, `1.4.5`, `1.5.1`
- `sylius/grid-bundle` (Packagist): affected `>=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 in `1.1.19`, `1.2.18`, `1.3.13`, `1.4.5`, `1.5.1`
- `sylius/sylius` (Packagist): affected `>=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 in `1.1.18`, `1.2.17`, `1.3.12`, `1.4.4`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 4.8 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** 0.0055, the 39th percentile, on 28 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:05 UTC: First seen by agentprime
- 31 Oct 2026, 14:05 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-rc5r-697f-28x6)

## Sources

- [GitHub Advisory Database: GHSA-rc5r-697f-28x6](https://github.com/advisories/GHSA-rc5r-697f-28x6)
- [OSV: GHSA-rc5r-697f-28x6](https://osv.dev/vulnerability/GHSA-rc5r-697f-28x6)
- <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>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-rc5r-697f-28x6>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-rc5r-697f-28x6/>. Everything for agents: <https://agentprime.io/llms.txt>.
