Skip to main content
← All vulnerabilities
CVE-2026-49216GHSA-MWQM-4FW3-CJVR

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.1.0, 2.36.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • symfony ux

    From 3.0.0 · fixed in 3.1.0; fixed in 2.36.0

  • symfony/ux-autocompletePackagist

    From 2.2.0 · fixed in 2.36.0

  • symfony/ux-autocompletePackagist

    From 3.0.0 · fixed in 3.1.0

References 4

GitHub · symfony/ux