CVE-2026-31822
published medium CVSS 4.0 · 5.3Sylius has a XSS vulnerability in checkout login form
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Sylius | — | Sylius>= 2.2.0, < 2.2.3 · >= 2.1.0, < 2.1.12 · >= 2.0.0, < 2.0.16 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Sylius | Sylius | >= 2.2.0, < 2.2.3 (affected)>= 2.1.0, < 2.1.12 (affected)>= 2.0.0, < 2.0.16 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
1Provider assertions
2GitHub_M · cna
Sylius has a XSS vulnerability in checkout login form
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4cc1b9990b55de61f602a56311c1865be543917b6d122dae9a67e670b343ca35
- Ingested
- 23 Sep 2026, 09:09:43 UTC
- Source record
- Official CVE record