CVE-2026-49216
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.
How to fix
- symfony/ux-autocomplete2.36.0, 3.1.0 or later
- symfony ux2.36.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| symfony/ux-autocompletePackagist | 2.2.0 ≤ v < 2.36.0, 3.0.0 ≤ v < 3.1.0 | 2.36.0, 3.1.0 |
| symfony ux | 2.2.0 ≤ v < 2.36.0, 3.0.0 | 2.36.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.