Live threats

All CVEs / Sylius

CVE-2026-31822Sylius

Medium 5.3 No auth needed

Priority
47
CVSS 4.0
5.3
EPSS
—
Auth required
No
Published
Mar 10, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Sylius.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist sylius/sylius ≥ 2.0.0 < 2.0.16 2.0.16 composer require "sylius/sylius:^2.0.16"
Packagist sylius/sylius ≥ 2.1.0 < 2.1.12 2.1.12 composer require "sylius/sylius:^2.1.12"
Packagist sylius/sylius ≥ 2.2.0 < 2.2.3 2.2.3 composer require "sylius/sylius:^2.2.3"

Per OSV / GitHub Advisories (GHSA-vgh8-c6fp-7gcg). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
syliussylius≥ 2.0.0 < 2.0.16
syliussylius≥ 2.1.0 < 2.1.12
syliussylius≥ 2.2.0 < 2.2.3

Official sources

References

Links published by the sources. Open them with care.