{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-49216","id":"CVE-2026-49216","title":"Symfony UX: XSS in symfony/ux-autocomplete via unescaped AJAX response data","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 (<div>${item[labelField]}</div>) rather than text, allowing attacker-controlled markup from user-supplied dropdown values to execute in t","descriptionLong":"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","updated":"2026-10-28T02:30:46.999892388Z","reserved":"2026-05-28T03:42:34.341Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":5.1,"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","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"4.0","score":5.1,"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","rating":"medium","source":"GitHub_M"},{"version":"4.0","score":5.1,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"medium","source":"github.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"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","rating":"medium","source":"GitHub"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":["symfony ux"],"affectedProducts":[{"vendor":"symfony","product":"ux","defaultStatus":null,"versions":[{"version":">= 3.0.0, < 3.1.0","status":"affected"},{"version":"< 2.36.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"symfony/ux-autocomplete","purl":"pkg:composer/symfony/ux-autocomplete","ranges":[">=2.2.0 <2.36.0",">=3.0.0 <3.1.0"],"fixed":["2.36.0","3.1.0"],"advisory":"GHSA-mwqm-4fw3-cjvr"}],"cwes":["CWE-79"],"aliases":["GHSA-mwqm-4fw3-cjvr"],"references":[{"url":"https://github.com/symfony/ux/security/advisories/GHSA-mwqm-4fw3-cjvr","tags":["x_refsource_CONFIRM","Vendor Advisory","advisory","web"]},{"url":"https://github.com/symfony/ux/commit/842ae54bc74de389299f975f01aafae272cb0019","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/symfony/ux/releases/tag/v2.36.0","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/symfony/ux/releases/tag/v3.1.0","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49216.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49216","tags":["advisory"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/ux-autocomplete/CVE-2026-49216.yaml","tags":["web"]},{"url":"https://github.com/symfony/ux","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00312,"epssPercentile":0.24526,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-49216","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49216","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-49216","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-mwqm-4fw3-cjvr","ok":true,"note":"GHSA-mwqm-4fw3-cjvr"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-49216","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}