# CVE-2026-49216: Symfony UX: XSS in symfony/ux-autocomplete via unescaped AJAX response data

- Severity: Medium 5.1 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 16% of CVEs (2026-11-30)
- Published: 2026-06-19T19:35:05.000Z
- Modified: 2026-10-24T20:10:00.137Z
- Also known as: GHSA-mwqm-4fw3-cjvr
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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 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.

(As written by CVE List.)

## Affected

- symfony ux: >= 3.0.0, < 3.1.0; < 2.36.0; from 2.2.0 before 2.36.0; 3.0.0
- symfony/ux-autocomplete (Packagist): from 2.2.0 before 2.36.0; from 3.0.0 before 3.1.0

## Every score

- GitHub_M: CVSS:4.0 5.1 Medium `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`
- GitHub: CVSS:4.0 Medium `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`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/symfony/ux/security/advisories/GHSA-mwqm-4fw3-cjvr> (vendor-advisory, web)
- <https://github.com/symfony/ux/commit/842ae54bc74de389299f975f01aafae272cb0019> (patch, web)
- <https://github.com/symfony/ux/releases/tag/v2.36.0> (release-notes)
- <https://github.com/symfony/ux/releases/tag/v3.1.0> (release-notes)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/ux-autocomplete/CVE-2026-49216.yaml> (web)
- <https://github.com/symfony/ux> (package)

## Sources

- CVE List: [CVE-2026-49216](https://www.cve.org/CVERecord?id=CVE-2026-49216), CVE Terms of Use, modified 2026-07-21
- GitHub Advisory Database: [GHSA-mwqm-4fw3-cjvr](https://github.com/advisories/GHSA-mwqm-4fw3-cjvr), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-49216](https://nvd.nist.gov/vuln/detail/CVE-2026-49216), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-49216 · Whole record: https://cve.day/CVE-2026-49216.json · Rebuilt by cve.day 2026-11-25T22:59:28.499Z
