{"answers":{"affected":"10 open source packages ship an affected version, including sylius/sylius.","exploited":"There is no known exploitation of CVE-2024-34349 in the wild and no public exploit code.","fix":"Upgrade sylius/sylius to a fixed version for your release line: 1.9.12, 1.10.16, 1.11.17 or 1.12.16.","what":"CVE-2024-34349 is a medium-severity cross-site scripting vulnerability in Sylius, published on 10 May 2024. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-34349 and fix it if it is affected.\n\nWhat it is: CVE-2024-34349 is a medium-severity cross-site scripting vulnerability in Sylius, published on 10 May 2024. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2024-34349 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- sylius/sylius (Packagist): affected all versions; fixed in 1.9.12\n- sylius/sylius (Packagist): affected all versions; fixed in 1.9.12\n- sylius/sylius (Packagist): affected from 1.10.0-alpha.1; fixed in 1.10.16\n- sylius/sylius (Packagist): affected from 1.10.0-alpha.1; fixed in 1.10.16\n- sylius/sylius (Packagist): affected from 1.11.0-alpha.1; fixed in 1.11.17\n- sylius/sylius (Packagist): affected from 1.11.0-alpha.1; fixed in 1.11.17\n- sylius/sylius (Packagist): affected from 1.12.0-alpha.1; fixed in 1.12.16\n- sylius/sylius (Packagist): affected from 1.12.0-alpha.1; fixed in 1.12.16\n- sylius/sylius (Packagist): affected from 1.13.0-alpha.1; fixed in 1.13.1\n- sylius/sylius (Packagist): affected from 1.13.0-alpha.1; fixed in 1.13.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-34349/ (Markdown: https://insights.sbomify.com/CVE-2024-34349/index.md)","id":"CVE-2024-34349","markdown":"https://insights.sbomify.com/CVE-2024-34349/index.md","name":"CVE-2024-34349","record":{"aliases":["GHSA-v2f9-rv6w-vw8r"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Sylius eCommerce platform","requires_auth":"high_privilege","summary":"Attackers can inject JavaScript via Name fields in the Sylius admin panel, potentially leading to code execution or account takeover.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":4.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"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.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Sylius potentially vulnerable to Cross Site Scripting via \"Name\" field (Taxons, Products, Options, Variants) in Admin Panel","id":"CVE-2024-34349","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"xss","year":"2024"},"n_packages":10,"n_references":2,"next":{"headline":"Next.js Vulnerable to HTTP Request Smuggling","id":"CVE-2024-34350"},"packages":[{"ecosystem":"Packagist","fixed":["1.9.12"],"introduced":["0"],"last_affected":[],"package":"sylius/sylius","purl":null,"source":"GHSA-v2f9-rv6w-vw8r"},{"ecosystem":"Packagist","fixed":["1.9.12"],"introduced":["0"],"last_affected":[],"package":"sylius/sylius","purl":"pkg:composer/sylius/sylius","source":"GHSA-v2f9-rv6w-vw8r"},{"ecosystem":"Packagist","fixed":["1.10.16"],"introduced":["1.10.0-alpha.1"],"last_affected":[],"package":"sylius/sylius","purl":null,"source":"GHSA-v2f9-rv6w-vw8r"},{"ecosystem":"Packagist","fixed":["1.10.16"],"introduced":["1.10.0-alpha.1"],"last_affected":[],"package":"sylius/sylius","purl":"pkg:composer/sylius/sylius","source":"GHSA-v2f9-rv6w-vw8r"},{"ecosystem":"Packagist","fixed":["1.11.17"],"introduced":["1.11.0-alpha.1"],"last_affected":[],"package":"sylius/sylius","purl":null,"source":"GHSA-v2f9-rv6w-vw8r"},{"ecosystem":"Packagist","fixed":["1.11.17"],"introduced":["1.11.0-alpha.1"],"last_affected":[],"package":"sylius/sylius","purl":"pkg:composer/sylius/sylius","source":"GHSA-v2f9-rv6w-vw8r"},{"ecosystem":"Packagist","fixed":["1.12.16"],"introduced":["1.12.0-alpha.1"],"last_affected":[],"package":"sylius/sylius","purl":null,"source":"GHSA-v2f9-rv6w-vw8r"},{"ecosystem":"Packagist","fixed":["1.12.16"],"introduced":["1.12.0-alpha.1"],"last_affected":[],"package":"sylius/sylius","purl":"pkg:composer/sylius/sylius","source":"GHSA-v2f9-rv6w-vw8r"},{"ecosystem":"Packagist","fixed":["1.13.1"],"introduced":["1.13.0-alpha.1"],"last_affected":[],"package":"sylius/sylius","purl":null,"source":"GHSA-v2f9-rv6w-vw8r"},{"ecosystem":"Packagist","fixed":["1.13.1"],"introduced":["1.13.0-alpha.1"],"last_affected":[],"package":"sylius/sylius","purl":"pkg:composer/sylius/sylius","source":"GHSA-v2f9-rv6w-vw8r"}],"prev":{"headline":"@hoppscotch/cli affected by Sandbox Escape in @hoppscotch/js-sandbox leads to RCE","id":"CVE-2024-34347"},"products":["Sylius"],"published":"2024-05-10","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-02","vendors":["Sylius"]},"summary":"Attackers can inject JavaScript via Name fields in the Sylius admin panel, potentially leading to code execution or account takeover.","url":"https://insights.sbomify.com/CVE-2024-34349/"}