CVE-2026-49216: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in symfony ux
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.
AI Analysis
Technical Summary
Symfony UX's symfony/ux-autocomplete Stimulus controller improperly neutralizes input during web page generation in the _createAutocompleteWithRemoteData() function. It renders AJAX response items by interpolating the text field directly into HTML template literals (<div>${item[labelField]}</div>) instead of safely encoding it as text. This allows 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. The vulnerability affects versions >=2.2.0 <2.36.0 and >=3.0.0 <3.1.0 and is fixed in versions 2.36.0 and 3.1.0.
Potential Impact
An attacker can inject malicious markup via user-supplied dropdown values in the autocomplete widget, leading to cross-site scripting (XSS) attacks. This can result in execution of arbitrary scripts in the context of the affected user's browser, potentially leading to session hijacking, data theft, or other malicious actions. The vulnerability requires user interaction (opening the autocomplete widget) and does not require privileges or authentication.
Mitigation Recommendations
Upgrade symfony/ux-autocomplete to version 2.36.0 or later, or 3.1.0 or later, where the vulnerability is fixed. No other official remediation or temporary fixes are documented. Patch status is not explicitly stated but the fix is included in these versions. Users should prioritize updating to these fixed versions to mitigate the risk.
CVE-2026-49216: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in symfony ux
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.
CVSS v4.0
Score 5.1medium
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Symfony UX's symfony/ux-autocomplete Stimulus controller improperly neutralizes input during web page generation in the _createAutocompleteWithRemoteData() function. It renders AJAX response items by interpolating the text field directly into HTML template literals (<div>${item[labelField]}</div>) instead of safely encoding it as text. This allows 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. The vulnerability affects versions >=2.2.0 <2.36.0 and >=3.0.0 <3.1.0 and is fixed in versions 2.36.0 and 3.1.0.
Potential Impact
An attacker can inject malicious markup via user-supplied dropdown values in the autocomplete widget, leading to cross-site scripting (XSS) attacks. This can result in execution of arbitrary scripts in the context of the affected user's browser, potentially leading to session hijacking, data theft, or other malicious actions. The vulnerability requires user interaction (opening the autocomplete widget) and does not require privileges or authentication.
Mitigation Recommendations
Upgrade symfony/ux-autocomplete to version 2.36.0 or later, or 3.1.0 or later, where the vulnerability is fixed. No other official remediation or temporary fixes are documented. Patch status is not explicitly stated but the fix is included in these versions. Users should prioritize updating to these fixed versions to mitigate the risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-28T03:42:34.341Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a5b5ec72d1edb114c7fbcf8
Added to database: 07/18/2026, 11:08:55 UTC
Last enriched: 07/25/2026, 22:42:20 UTC
Last updated: 08/30/2026, 10:52:09 UTC
Views: 54
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.