CVE-2019-12186

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.

Severity
MEDIUM
CVSS v3
4.8
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N · source nvd
Exploit chance (EPSS)
0.552%
chance of exploitation in the next 30 days
higher than 46.7% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0

Weakness

Timeline

  1. 2019-12-31Published by the CNA14:21 UTC
  2. 2020-04-15GitHub advisory published (GHSA-rc5r-697f-28x6)106 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-rc5r-697f-28x6, affected packages:

PackageVulnerable versionsFixed in
Packagist sylius/gridfrom 1.0.0 before 1.1.191.1.19
Packagist sylius/gridfrom 1.2.0 before 1.2.181.2.18
Packagist sylius/gridfrom 1.3.0 before 1.3.131.3.13
Packagist sylius/gridfrom 1.4.0 before 1.4.51.4.5
Packagist sylius/gridfrom 1.5.0 before 1.5.11.5.1

9 more affected packages in the advisory.

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
sylius gridfrom 1.0.0 through 1.0.18no fix listedfrom 1.1.0 through 1.1.18no fix listedfrom 1.2.0 through 1.2.17no fix listedfrom 1.3.0 through 1.3.12no fix listedfrom 1.4.0 through 1.4.4no fix listed(+1 more)not listednot listednot listednot listednot listed
sylius syliusfrom 1.0.0 through 1.0.18no fix listedfrom 1.1.0 through 1.1.17no fix listedfrom 1.2.0 through 1.2.16no fix listedfrom 1.3.0 through 1.3.11no fix listedfrom 1.4.0 through 1.4.3no fix listednot listednot listednot listednot listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources