{"id":"CVE-2026-49216","aliases":["GHSA-mwqm-4fw3-cjvr"],"url":"https://o3.security/vulnerability/CVE-2026-49216","summary":"Symfony UX: XSS in symfony/ux-autocomplete via unescaped AJAX response data","details":"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 (<div>${item[labelField]}</div>) 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.","published":"2026-07-17T16:15:34.990Z","modified":"2026-08-12T03:51:17.452578208Z","cvss":null,"epss":{"score":0.00312,"percentile":0.23844,"asOf":"2026-09-13"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"symfony/ux-autocomplete","fixedVersion":"2.36.0"},{"ecosystem":"Packagist","name":"symfony/ux-autocomplete","fixedVersion":"3.1.0"}],"fix":{"url":"https://github.com/symfony/ux/commit/842ae54bc74de389299f975f01aafae272cb0019","label":"symfony/ux@842ae54"},"references":[{"type":"WEB","url":"https://github.com/symfony/ux/releases/tag/v2.36.0"},{"type":"WEB","url":"https://github.com/symfony/ux/releases/tag/v3.1.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49216.json"},{"type":"ADVISORY","url":"https://github.com/symfony/ux/security/advisories/GHSA-mwqm-4fw3-cjvr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49216"},{"type":"FIX","url":"https://github.com/symfony/ux/commit/842ae54bc74de389299f975f01aafae272cb0019"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:17.452578208Z"}}