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
The symfony/ux-autocomplete Stimulus controller improperly neutralizes input during web page generation by embedding user-controlled text fields directly into HTML template literals without escaping. This leads to a cross-site scripting vulnerability (CWE-79) where malicious markup can be executed in the browser of any user who opens an autocomplete widget backed by the same data source. The affected versions are from 2.2.0 until 2.36.0 and 3.1.0. The vulnerability is fixed in versions 2.36.0 and 3.1.0.
Potential Impact
An attacker can inject malicious HTML or JavaScript code via user-supplied dropdown values in the autocomplete widget, which will execute in the browsers of users interacting with the widget. This can lead to typical XSS impacts such as session hijacking, defacement, or redirection to malicious sites. There are no known exploits in the wild at this time.
Mitigation Recommendations
This vulnerability is fixed in symfony/ux-autocomplete versions 2.36.0 and 3.1.0. Users should upgrade to at least these versions to remediate the issue. No other official remediation or temporary fixes are indicated. Patch status is not explicitly stated beyond the fixed versions, so users should consult the vendor advisory for the latest guidance.
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
The symfony/ux-autocomplete Stimulus controller improperly neutralizes input during web page generation by embedding user-controlled text fields directly into HTML template literals without escaping. This leads to a cross-site scripting vulnerability (CWE-79) where malicious markup can be executed in the browser of any user who opens an autocomplete widget backed by the same data source. The affected versions are from 2.2.0 until 2.36.0 and 3.1.0. The vulnerability is fixed in versions 2.36.0 and 3.1.0.
Potential Impact
An attacker can inject malicious HTML or JavaScript code via user-supplied dropdown values in the autocomplete widget, which will execute in the browsers of users interacting with the widget. This can lead to typical XSS impacts such as session hijacking, defacement, or redirection to malicious sites. There are no known exploits in the wild at this time.
Mitigation Recommendations
This vulnerability is fixed in symfony/ux-autocomplete versions 2.36.0 and 3.1.0. Users should upgrade to at least these versions to remediate the issue. No other official remediation or temporary fixes are indicated. Patch status is not explicitly stated beyond the fixed versions, so users should consult the vendor advisory for the latest guidance.
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/18/2026, 12:04:37 UTC
Last updated: 07/18/2026, 13:15:43 UTC
Views: 4
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.