Live threats

All CVEs / Sylius

CVE-2020-15245Sylius

Medium 4.3

Priority
26
CVSS 3.1
4.3
EPSS
0.6%
probability of exploitation in 30 days · percentile 51
Auth required
Yes
Published
Oct 19, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79, CWE-862
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

What happens

In Sylius before versions 1.6.9, 1.7.9 and 1.8.3, the user may register in a shop by email mail@example.com, verify it, change it to the mail another@domain.com and stay verified and enabled. This may lead to having accounts addressed to totally different emails, that were verified. Note, that this way one is not able to take over any existing account (guest or normal one). The issue has been patched in Sylius 1.6.9, 1.7.9 and 1.8.3. As a workaround, you may resolve this issue on your own by creating a custom event listener, which will listen to the sylius.customer.pre_update event. You can determine that email has been changed if customer email and user username are different. They are synchronized later on. Pay attention, to email changing behavior for administrators. You may need to skip this logic for them. In order to achieve this, you should either check master request path info, if it does not contain /admin prefix or adjust event triggered during customer update in the shop. You can find more information on how to customize the event here.

Original NVD text.

What to do

  1. Apply the vendor's security update for Sylius.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist sylius/sylius ≥ 1.7.0 < 1.7.9 1.7.9 composer require "sylius/sylius:^1.7.9"
Packagist sylius/sylius ≥ 1.8.0 < 1.8.3 1.8.3 composer require "sylius/sylius:^1.8.3"
Packagist sylius/sylius ≥ 1.0.0 < 1.6.9 1.6.9 composer require "sylius/sylius:^1.6.9"

Per OSV / GitHub Advisories (GHSA-6gw4-x63h-5499). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
syliussylius< 1.6.9
syliussylius≥ 1.7.0 < 1.7.9
syliussylius≥ 1.8.0 < 1.8.3

Official sources

References

Links published by the sources. Open them with care.