CVE-2019-16768: Internal exception message exposure for login action in Sylius
3.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.56663%
CWE
Published
12/5/2019
Updated
1/9/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
sylius/sylius | composer | < 1.3.14 | 1.3.14 |
sylius/sylius | composer | >= 1.4.0, < 1.4.10 | 1.4.10 |
sylius/sylius | composer | >= 1.5.0, < 1.5.7 | 1.5.7 |
sylius/sylius | composer | >= 1.6.0, < 1.6.3 | 1.6.3 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from the Twig template (_login.html.twig) using last_error.message to display error messages. The 'message' property contains raw internal exceptions (e.g., database errors), while 'messageKey' provides a localized/safe identifier. The patch explicitly replaces last_error.message with last_error.messageKey in the template, confirming this as the root cause. No specific PHP functions are directly implicated; the exposure occurs at the template layer due to improper error message handling.