CVE-2026-49216

Medium

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.

SeverityMedium
CVSS5.4
Exploit probability—
ProductSymfony/ux-autocomplete
PublishedJul 17, 2026
First seenJul 17, 2026

How to fix

Update
  • symfony/ux-autocomplete2.36.0, 3.1.0 or later
  • symfony ux2.36.0 or later

Affected products

ProductAffected versionsFixed in
symfony/ux-autocompletePackagist2.2.0 ≤ v < 2.36.0, 3.0.0 ≤ v < 3.1.02.36.0, 3.1.0
symfony ux2.2.0 ≤ v < 2.36.0, 3.0.02.36.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.