Improper Neutralization of Special Elements in Data Query Logic Affecting symfony/ux-autocomplete package, versions >=2.2.0, <2.36.0>=3.0.0, <3.1.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.31% (23rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PHP-SYMFONYUXAUTOCOMPLETE-17180319
  • published5 Jun 2026
  • disclosed29 May 2026
  • creditPascal Cescon

Introduced: 29 May 2026

CVE-2026-49211  (opens in a new tab)
CWE-943  (opens in a new tab)

How to fix?

Upgrade symfony/ux-autocomplete to version 2.36.0, 3.1.0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Neutralization of Special Elements in Data Query Logic in the EntitySearchUtil::addSearchClause() function in the autocomplete endpoint. The endpoint constructs SQL query with LIKE expression without escaping the SQL LIKE wildcards (%, _, \) which allows an attacker unrestricted access to search underlying DB and exfiltrate sensitive information.

CVSS Base Scores

version 4.0
version 3.1