Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-31822 EUVD-2026-10917GHSA-vgh8-c6fp-7gcg

Sylius has a XSS vulnerability in checkout login form

Published Mar 10, 2026 · Updated Mar 11, 2026 · Assigned by 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.

Affected products

VendorProductAffectedFixed
Sylius Sylius >= 2.2.0, < 2.2.3, >= 2.1.0, < 2.1.12, >= 2.0.0, < 2.0.16 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist sylius/sylius >= 2.0.0, < 2.0.16 2.0.16 GHSA-vgh8-c6fp-7gcg
Packagist sylius/sylius >= 2.1.0, < 2.1.12 2.1.12 GHSA-vgh8-c6fp-7gcg
Packagist sylius/sylius >= 2.2.0, < 2.2.3 2.2.3 GHSA-vgh8-c6fp-7gcg

References