Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 77%

CVE-2026-49216: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in symfony ux

0
Medium
VulnerabilityCVE-2026-49216cvecve-2026-49216cwe-79
Published: 07/17/2026 (07/17/2026, 16:15:34 UTC)
Source: CVE Database V5
Vendor/Project: symfony
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
Low
Subsq. Integrity
Low
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Affected software

Affected versions
>=2.2.0 <2.36.0>=3.0.0 <3.1.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/25/2026, 22:42:20 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses