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.
References
| Link | Resource |
|---|---|
| https://github.com/Sylius/Sylius/security/advisories/GHSA-vgh8-c6fp-7gcg | Mitigation Vendor Advisory |
Configurations
Configuration 1 (hide)
|
History
11 Mar 2026, 19:32
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Sylius
Sylius sylius |
|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 6.1 |
| CPE | cpe:2.3:a:sylius:sylius:*:*:*:*:*:*:*:* | |
| References | () https://github.com/Sylius/Sylius/security/advisories/GHSA-vgh8-c6fp-7gcg - Mitigation, Vendor Advisory |
11 Mar 2026, 13:52
| Type | Values Removed | Values Added |
|---|---|---|
| Summary |
|
10 Mar 2026, 22:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-03-10 22:16
Updated : 2026-03-11 19:32
NVD link : CVE-2026-31822
Mitre link : CVE-2026-31822
CVE.ORG link : CVE-2026-31822
JSON object : View
Products Affected
sylius
- sylius
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
