symfony/ux-autocomplete is vulnerable to Cross-Site Scripting (XSS)
61
CVE Score
Medium
Cross-Site Scripting (XSS)
The Symfony UX Autocomplete Stimulus controller renders the text field from AJAX endpoint responses directly into the dropdown using template literals in _createAutocompleteWithRemoteData(), without HTML escaping. Any attacker-influenced data that reaches an entity rendered by the autocomplete can inject HTML and JavaScript that executes in the browser of users viewing the field. The fix routes the value through TomSelect's escape() helper by default and introduces an explicit options_as_html opt-in for endpoints that legitimately return HTML.
Upgrade the symfony/ux-autocomplete library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
0.0.1 - 2.35.0
Fixed in 2.36.03.0.0 - 3.0.0
Fixed in 3.1.0symfony/ux-autocomplete is vulnerable to Cross-Site Scripting (XSS) in versions 0.0.1 - 2.35.0 and 3.0.0 - 3.0.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.