CVE-2019-16768
mediumpriority · track · 17EPSS 0.007 · 55 %ileEUUSEPSS · scored 2026-10-27
In affected versions of Sylius, exception messages from internal exceptions (like database exception) are wrapped by \Symfony\Component\Security\Core\Exception\AuthenticationServiceException and propagated through the system to UI. Therefore, some internal system information may leak and be visible to the customer. A validation message with the exception details will be presented to the user when one will try to log into the shop. This has been patched in versions 1.3.14, 1.4.10, 1.5.7, and 1.6.3.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 3.5–4.3
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (9)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-3r8j-pmch-5j2hInternal exception message exposure for login action in Sylius2019-12-05ghsa · osvUS
## Internal exception message exposure for login action ### Impact Exception messages from internal exceptions (like database exception) are wrapped by `\Symfony\Component\Security\Core\Exception\AuthenticationServiceException` and propagated through the system to UI. Therefore, some internal system information may leak and be visible to the customer. A validation message with the exception details will be presented to the user when one will try to log into the shop. ### Patches _Has the problem been patched? What versions should users upgrade to?_ ### Workarounds The `src/Sylius/Bundle/UiBundle/Resources/views/Security/_login.html.twig` file should be overridden and lines https://github.com/Sylius/Sylius/blob/1.4/src/Sylius/Bundle/UiBundle/Resources/views/Security/_login.html.twig#L13-L17 should be replaced with ```twig {% if last_error %} <div class="ui left aligned basic segment"> {{ messages.error(last_error.messageKey) }} </div> {% endif %} ``` The `messageKey` field should be used instead of the `message`.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (7)
External citations — patches, advisories, analysis.
- https://github.com/Sylius/Sylius/commit/be245302dfc594d8690fe50dd47631d186aa945fcnnvd
- https://github.com/Sylius/Sylius/security/advisories/GHSA-3r8j-pmch-5j2hcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2019-16768cnnvd
- https://github.com/Sylius/Sylius/commit/be245302dfc594d8690fe50dd47631d186aa945fenisa_euvd
- https://github.com/Sylius/Sylius/security/advisories/GHSA-3r8j-pmch-5j2henisa_euvd
- https://github.com/Sylius/Sylius/commit/be245302dfc594d8690fe50dd47631d186aa945fRelease Notesnvd
- https://github.com/Sylius/Sylius/security/advisories/GHSA-3r8j-pmch-5j2hMitigationThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan