{"id":"CVE-2026-31822","published":"2026-03-10T21:27:38Z","modified":"2026-03-11T15:59:48Z","title":"Sylius has a XSS vulnerability in checkout login form","vendor":"Sylius","product":"Sylius","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00348,"percentile":0.20839,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/Sylius/Sylius/security/advisories/GHSA-vgh8-c6fp-7gcg","tags":["x_refsource_CONFIRM"]}],"priority":{"score":7.9,"factors":[{"name":"EPSS percentile","points":4.17},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"sylius","affectedVersions":[{"vendor":"Sylius","product":"Sylius","versions":[">= 2.2.0, < 2.2.3",">= 2.1.0, < 2.1.12",">= 2.0.0, < 2.0.16"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-03-11T15:53:32.405193Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"sylius/sylius","vulnerableRanges":[">=2.0.0, <2.0.16",">=2.1.0, <2.1.12",">=2.2.0, <2.2.3"],"patched":["2.0.16","2.1.12","2.2.3"],"from":["GHSA-vgh8-c6fp-7gcg"],"provenance":"source"}],"summary":{"text":"A cross-site scripting flaw in Sylius, the Symfony-based eCommerce framework, lives in the shop checkout login form: when a login attempt fails, the ApiLoginController Stimulus controller renders the server's JSON message field into the DOM via innerHTML, so injected HTML or JavaScript in that value is parsed and executed by the browser. An attacker can exploit this without authentication or network privileges, but needs a victim to interact with the page, such as by performing a failed login attempt on the checkout login form.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:19:46Z"},"euvd":{"id":"EUVD-2026-10917","exploited":false,"provenance":"source"}}