Skip to content
OpenAdvisories
Medium · 5.1 CVE-2026-49216 EUVD-2026-45216GHSA-mwqm-4fw3-cjvr

Symfony UX: XSS in symfony/ux-autocomplete via unescaped AJAX response data

Published Jul 17, 2026 · Updated Jul 21, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
symfony ux >= 3.0.0, < 3.1.0, < 2.36.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist symfony/ux-autocomplete >= 2.2.0, < 2.36.0 2.36.0 GHSA-mwqm-4fw3-cjvr
Packagist symfony/ux-autocomplete >= 3.0.0, < 3.1.0 3.1.0 GHSA-mwqm-4fw3-cjvr

References