CVE-2023-41336
PHP vulnerability analysis and mitigation

Overview

CVE-2023-41336 affects symfony/ux-autocomplete, a JavaScript Autocomplete functionality for Symfony. The vulnerability was discovered and disclosed on September 11, 2023, affecting versions prior to 2.11.2. Under certain circumstances, an attacker could successfully submit an entity id for an EntityType that is not part of the valid choices (GitHub Advisory).

Technical details

The vulnerability occurs in applications that use a custom querybuilder option to limit valid results and an EntityType with 'autocomplete' => true or a custom AsEntityAutocompleteField. In this scenario, if an id is submitted, it is accepted even if the matching record would not be returned by the custom query built with querybuilder. The vulnerability has been assigned a CVSS v3.1 base score of 6.5 (Medium) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N (NVD).

Impact

The vulnerability allows attackers to bypass intended restrictions on entity selection. When exploited, an attacker could submit and have the system accept entity IDs that should be invalid according to the configured query builder restrictions (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been fixed in symfony/ux-autocomplete version 2.11.2. Users should upgrade to this version or later. If immediate upgrade is not possible, users can implement extra validation after submit to verify the selected option is valid (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-13828CRITICAL9
  • PHPPHP
  • mautic/core
NoYesDec 02, 2025
CVE-2025-13827HIGH8.8
  • PHPPHP
  • mautic/grapes-js-builder-bundle
NoYesDec 02, 2025
CVE-2025-66312MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 2025
CVE-2025-66311MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 2025
CVE-2025-66310MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management