{"answers":{"affected":"4 open source packages ship an affected version, including symfony/ux-autocomplete. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-49216 in the wild and no public exploit code.","fix":"Upgrade symfony/ux-autocomplete to a fixed version for your release line: 2.36.0 or 3.1.0.","what":"CVE-2026-49216 is a medium-severity cross-site scripting vulnerability in symfony ux, published on 17 Jul 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-49216 and fix it if it is affected.\n\nWhat it is: CVE-2026-49216 is a medium-severity cross-site scripting vulnerability in symfony ux, published on 17 Jul 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-49216 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- symfony/ux-autocomplete (Packagist): affected from 2.2.0; fixed in 2.36.0\n- symfony/ux-autocomplete (Packagist): affected from 2.2.0; fixed in 2.36.0\n- symfony/ux-autocomplete (Packagist): affected from 3.0.0; fixed in 3.1.0\n- symfony/ux-autocomplete (Packagist): affected from 3.0.0; fixed in 3.1.0\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-2026-49216/ (Markdown: https://insights.sbomify.com/CVE-2026-49216/index.md)","id":"CVE-2026-49216","markdown":"https://insights.sbomify.com/CVE-2026-49216/index.md","name":"CVE-2026-49216","record":{"aliases":["GHSA-mwqm-4fw3-cjvr"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Symfony UX autocomplete","requires_auth":"none","summary":"An attacker can execute arbitrary JavaScript in a victim's browser via unescaped AJAX response data in the Symfony UX autocomplete component.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"ux","vendor":"symfony"}],"cvss":{"score":5.1,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","version":"4.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Symfony UX is a JavaScript ecosystem for Symfony. From 2.2.0 until 2.36.0 and 3.1.0, the Stimulus controller in symfony/ux-autocomplete renders AJAX response items in _createAutocompleteWithRemoteData() by interpolating the text field into HTML template literals (\u003cdiv\u003e${item[labelField]}\u003c/div\u003e) rather than text, allowing attacker-controlled markup from user-supplied dropdown values to execute in the browser of any user who opens an autocomplete widget backed by the same data. This issue is fixed in versions 2.36.0 and 3.1.0.","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":"Symfony UX: XSS in symfony/ux-autocomplete via unescaped AJAX response data","id":"CVE-2026-49216","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"xss","year":"2026"},"n_packages":4,"n_references":4,"next":{"headline":"Mailu missing authentication on PATCH /api/v1/token/\u003cid\u003e, which allows unauthenticated removal of IP restrictions","id":"CVE-2026-49217"},"packages":[{"ecosystem":"Packagist","fixed":["2.36.0"],"introduced":["2.2.0"],"last_affected":[],"package":"symfony/ux-autocomplete","purl":null,"source":"GHSA-mwqm-4fw3-cjvr"},{"ecosystem":"Packagist","fixed":["2.36.0"],"introduced":["2.2.0"],"last_affected":[],"package":"symfony/ux-autocomplete","purl":"pkg:composer/symfony/ux-autocomplete","source":"GHSA-mwqm-4fw3-cjvr"},{"ecosystem":"Packagist","fixed":["3.1.0"],"introduced":["3.0.0"],"last_affected":[],"package":"symfony/ux-autocomplete","purl":null,"source":"GHSA-mwqm-4fw3-cjvr"},{"ecosystem":"Packagist","fixed":["3.1.0"],"introduced":["3.0.0"],"last_affected":[],"package":"symfony/ux-autocomplete","purl":"pkg:composer/symfony/ux-autocomplete","source":"GHSA-mwqm-4fw3-cjvr"}],"prev":{"headline":"Symfony UX: CSRF Protection Bypass in symfony/ux-live-component — Accept Header is CORS-Safelisted","id":"CVE-2026-49215"},"products":["ux"],"published":"2026-07-17","related":[{"cvss_score":6.9,"headline":"Symfony UX: Format-less date LiveProps parsed with the permissive DateTime constructor","id":"CVE-2026-49208","kev_date_added":null,"published":"2026-07-17"},{"cvss_score":6.9,"headline":"Symfony UX: Information exposure via unescaped LIKE wildcards in EntitySearchUtil","id":"CVE-2026-49211","kev_date_added":null,"published":"2026-07-17"},{"cvss_score":6.9,"headline":"Symfony UX: LiveComponentHydrator HMAC checksum lacks component and slot binding","id":"CVE-2026-49212","kev_date_added":null,"published":"2026-07-17"},{"cvss_score":6.1,"headline":"Symfony UX: XSS in symfony/ux-icons via unsanitized SVG content in local files and Iconify on-demand responses","id":"CVE-2026-55877","kev_date_added":null,"published":"2026-07-08"},{"cvss_score":5.3,"headline":"Symfony UX: Denial of service in symfony/ux-live-component via unbounded batch action requests","id":"CVE-2026-49209","kev_date_added":null,"published":"2026-07-17"},{"cvss_score":2.3,"headline":"Symfony UX: XSS in symfony/ux-live-component via attacker-controlled child component tag","id":"CVE-2026-49210","kev_date_added":null,"published":"2026-07-17"}],"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":"US public information, NVD API terms","name":"NVD"},{"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":"2026-07-21","vendors":["symfony"]},"summary":"An attacker can execute arbitrary JavaScript in a victim's browser via unescaped AJAX response data in the Symfony UX autocomplete component.","url":"https://insights.sbomify.com/CVE-2026-49216/"}