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.
Weakness
- CWE-79: Improper Neutralization of Input During Web Page Generation
Timeline
- 2019-12-31Published by the CNA14:21 UTC
- 2020-04-15GitHub advisory published (GHSA-rc5r-697f-28x6)106 days after publication
Exploit and advisory records
GitHub advisory GHSA-rc5r-697f-28x6, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Packagist sylius/grid | from 1.0.0 before 1.1.19 | 1.1.19 |
| Packagist sylius/grid | from 1.2.0 before 1.2.18 | 1.2.18 |
| Packagist sylius/grid | from 1.3.0 before 1.3.13 | 1.3.13 |
| Packagist sylius/grid | from 1.4.0 before 1.4.5 | 1.4.5 |
| Packagist sylius/grid | from 1.5.0 before 1.5.1 | 1.5.1 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| sylius grid | from 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 sylius | from 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 listed | not listednot listednot listednot listednot listed |
References
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2019-12186'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2019-12186'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2019-12186'curl 'https://api.contrastcyber.com/cve_products/CVE-2019-12186'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).