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.
Fix
Patch, vendor advisory and mitigation references on NVD 2
- https://github.com/symfony/ux/commit/842ae54bc74de389299f975f01aafae272cb0019 Patch
- https://github.com/symfony/ux/security/advisories/GHSA-mwqm-4fw3-cjvr Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 5.1 · symfonyNVD modified 2026-10-24 20:10
Affected (CPE criteria) 2
cpe:2.3:a:symfony:ux:*:*:*:*:*:*:*:*cpe:2.3:a:symfony:ux:3.0.0:*:*:*:*:*:*:*