CVE-2026-49216 Details
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.
A cross-site scripting (XSS) vulnerability has been identified in the Symfony UX Autocomplete component, specifically in versions 2.2.0 prior to 2.36.0 and 3.0.0 prior to 3.1.0. The issue arises in the Stimulus controller's method '_createAutocompleteWithRemoteData()', where AJAX response items are rendered by directly inserting the text field into HTML template literals. This approach allows attacker-controlled markup from user-supplied dropdown values to be executed in the browser of any user who interacts with the autocomplete widget using the same data. The vulnerability has been patched in Symfony UX Autocomplete versions 2.36.0 and 3.1.0.
Users can update to Symfony UX Autocomplete versions 2.36.0 or 3.1.0, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 21, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| symfony ux | >= 2.2.0, < 2.36.0 3.0.0 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 21, 2026 | CVE Modified | CISA-ADP |
| Jul 20, 2026 | Initial Analysis | [email protected] |
| Jul 17, 2026 | New CVE Received | [email protected] |