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.
Advisories
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-vgh8-c6fp-7gcg | Sylius has a XSS vulnerability in checkout login form |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Wed, 11 Mar 2026 12:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Sylius
Sylius sylius |
|
| Vendors & Products |
Sylius
Sylius sylius |
Tue, 10 Mar 2026 21:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | Sylius has a XSS vulnerability in checkout login form | |
| Weaknesses | CWE-79 | |
| References |
| |
| Metrics |
cvssV4_0
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2026-03-10T21:27:38.691Z
Reserved: 2026-03-09T17:41:56.076Z
Link: CVE-2026-31822
No data.
Status : Received
Published: 2026-03-10T22:16:19.810
Modified: 2026-03-10T22:16:19.810
Link: CVE-2026-31822
No data.
OpenCVE Enrichment
Updated: 2026-03-11T11:39:21Z
Weaknesses
Github GHSA