{"id":"CVE-2026-49216","published":"2026-07-17T16:15:34Z","modified":"2026-07-21T01:44:13Z","title":"Symfony UX: XSS in symfony/ux-autocomplete via unescaped AJAX response data","vendor":"symfony","product":"ux","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.1,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00312,"percentile":0.24658,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/symfony/ux/security/advisories/GHSA-mwqm-4fw3-cjvr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/symfony/ux/commit/842ae54bc74de389299f975f01aafae272cb0019","tags":["x_refsource_MISC"]},{"url":"https://github.com/symfony/ux/releases/tag/v2.36.0","tags":["x_refsource_MISC"]},{"url":"https://github.com/symfony/ux/releases/tag/v3.1.0","tags":["x_refsource_MISC"]}],"priority":{"score":8.5,"factors":[{"name":"EPSS percentile","points":4.93},{"name":"CVSS severity","points":3.57}]},"vendorSlug":"symfony","affectedVersions":[{"vendor":"symfony","product":"ux","versions":[">= 3.0.0, < 3.1.0","< 2.36.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-21T01:43:58.784121Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"symfony/ux-autocomplete","vulnerableRanges":[">=2.2.0, <2.36.0",">=3.0.0, <3.1.0"],"patched":["2.36.0","3.1.0"],"from":["GHSA-mwqm-4fw3-cjvr"],"provenance":"source"}],"summary":{"text":"The flaw is a cross-site scripting weakness in the Stimulus controller of symfony/ux-autocomplete, part of Symfony UX, where AJAX response items are inserted into HTML template literals without escaping, so the text field is treated as markup rather than text. An attacker can make attacker-controlled markup from user-supplied dropdown values execute in the browser of any user who opens an autocomplete widget backed by that data, requiring network access and no authentication, but user interaction (the victim opening the widget) and affected versions from 2.2.0 up to 2.36.0 and 3.1.0.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:11:53Z"},"euvd":{"id":"EUVD-2026-45216","exploited":false,"provenance":"source"}}