CVE-2026-49216
Symfony UX is a JavaScript ecosystem for Symfony. From 2.2.0 until …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/symfony/ux/security/advisories/GHSA-mwqm-4fw3-cjvr
- github.com/symfony/ux/commit/842ae54bc74de389299f975f01aafae272cb0019
- github.com/FriendsOfPHP/security-advisories/blob/master/symfony/ux-autocomplete/CVE-2026-4
- github.com/advisories/GHSA-mwqm-4fw3-cjvr
- github.com/symfony/ux/releases/tag/v2.36.0
- github.com/symfony/ux/releases/tag/v3.1.0
- nvd.nist.gov/vuln/detail/CVE-2026-49216
- cve.org/CVERecord?id=CVE-2026-49216
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.