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.
Cite this page
CVE-2026-31822. CVEDatabase.com. Retrieved 1 May 2026. https://cvedatabase.com/cve/CVE-2026-31822
Use CWE-79, Sylius vendor hub and Sylius product page to widen CVE-2026-31822 into its surrounding weakness, vendor, and product context.
Compare it with CVE-2026-31824, CVE-2024-57610 and CVE-2026-31820 for nearby disclosures in the same product family.