CVE-2026-31822Sylius
Medium 5.3 No auth needed
Follow: this CVE · Sylius · Sylius We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 4.0
- 5.3
- EPSS
- —
- Auth required
- No
- Published
- Mar 10, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
Sylius is an Open Source eCommerce Framework on Symfony. A cross-site scripting (XSS) vulnerability exists in the shop checkout login form handled by the ApiLoginController Stimulus controller. When a login attempt fails, AuthenticationFailureHandler returns a JSON response whose message field is rendered into the DOM using innerHTML, allowing any HTML or JavaScript in that value to be parsed and executed by the browser. The issue is fixed in versions: 2.0.16, 2.1.12, 2.2.3 and above.
What to do
- Apply the vendor's security update for Sylius.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | sylius/sylius |
≥ 2.0.0 < 2.0.16 |
2.0.16 |
composer require "sylius/sylius:^2.0.16" |
| Packagist | sylius/sylius |
≥ 2.1.0 < 2.1.12 |
2.1.12 |
composer require "sylius/sylius:^2.1.12" |
| Packagist | sylius/sylius |
≥ 2.2.0 < 2.2.3 |
2.2.3 |
composer require "sylius/sylius:^2.2.3" |
Per OSV / GitHub Advisories (GHSA-vgh8-c6fp-7gcg). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| sylius | sylius | ≥ 2.0.0 < 2.0.16 |
| sylius | sylius | ≥ 2.1.0 < 2.1.12 |
| sylius | sylius | ≥ 2.2.0 < 2.2.3 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Mitigation Vendor Advisory