Symfony UX: XSS in symfony/ux-autocomplete via unescaped AJAX response data (symfony ux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.31 % Β· percentile 24 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Analyzed
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.
Weaknesses (CWE)
- CWE-79 β Improper Neutralization of Input During Web Page Generation
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 4.0 | MEDIUM 5.1 | 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 | GitHub_M |
| CVSS 4.0 | MEDIUM 5.1 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | NVD Β· security-advisories@github.com (Secondary) |
| CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N | NVD Β· nvd@nist.gov (Primary) |
Advisories
- GHSA-mwqm-4fw3-cjvr β symfony/ux-autocomplete: XSS via unescaped AJAX response data
European references
- ENISA EUVD Β· EUVD-2026-45216
- GCVE Β· GCVE-0-2026-49216
Affected configurations (NVD CPE)
cpe:2.3:a:symfony:ux:*:*:*:*:*:*:*:*β₯ 2.2.0 < 2.36.0cpe:2.3:a:symfony:ux:3.0.0:*:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| symfony Β· ux | affected >= 3.0.0, < 3.1.0 ; affected < 2.36.0 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST β attribution requested |
| ENISA EUVD | ENISA β reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain β this product uses data from the NVD API but is not endorsed or certified by the NVD |