Skip to main content
← All vulnerabilities
CVE-2026-31822GHSA-VGH8-C6FP-7GCG

Sylius has a XSS vulnerability in checkout login form

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.2.3, 2.1.12, 2.0.16
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • Sylius Sylius

    From 2.2.0 · fixed in 2.2.3; From 2.1.0 · fixed in 2.1.12; From 2.0.0 · fixed in 2.0.16

  • sylius/syliusPackagist

    From 2.0.0 · fixed in 2.0.16

  • sylius/syliusPackagist

    From 2.1.0 · fixed in 2.1.12

  • sylius/syliusPackagist

    From 2.2.0 · fixed in 2.2.3

References 1

GitHub · Sylius/Sylius