CVE-2023-41336: Prevent injection of invalid entity ids for "autocomplete" fields in symfony ux-autocomplete

Published Sep 11, 2023
·
Updated

Impact Under certain circumstances, an attacker could successfully submit an entity id for an EntityType that is not part of the valid choices.

Affected applications are any that use:

A custom querybuilder option to limit the valid results; AND An EntityType with 'autocomplete' => true or a custom AsEntityAutocompleteField.

Under this circumstance, if an id is submitted, it is accepted even if the matching record would not be returned by the custom query built with querybuilder.

Patches

The problem has been fixed in symfony/ux-autocomplete version 2.11.2.

Workarounds Upgrade to version 2.11.2 or greater of symfony/ux-autocomplete or perform extra validation after submit to verify the selected option is valid.

Other sources

ux-autocomplete is a JavaScript Autocomplete functionality for Symfony. Under certain circumstances, an attacker could successfully submit an entity id for an EntityType that is not part of the valid choices. The problem has been fixed in symfony/ux-autocomplete version 2.11.2.

MITRE

Affected Software

2 affected componentsFixes available
composer/symfony/ux-autocomplete<2.11.2
2.11.2
Symfony Ux Autocomplete<2.11.2

Event History

Sep 11, 2023
Advisory Published
02:43 PM
CVE Published
via MITRE·07:21 PM
Data Sourced
via MITRE·07:21 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the impact of CVE-2023-41336?

An attacker could submit an entity id that is not part of the valid choices.

2

Which applications are affected by CVE-2023-41336?

Any application that uses a custom query_builder option to limit valid results and includes an EntityType with autocomplete enabled.

3

How can I fix CVE-2023-41336?

Update to version 2.11.2 of Symfony/ux-autocomplete package.

4

What is the severity of CVE-2023-41336?

The severity is medium (CVSS score 6.5).

5

Where can I find more information about CVE-2023-41336?

You can find more information at the following references: [link1](https://github.com/symfony/ux-autocomplete/security/advisories/GHSA-4cpv-669c-r79x), [link2](https://github.com/symfony/ux-autocomplete/commit/fabcb2eee14b9e84a45b276711853a560b5d770c), [link3](https://symfony.com/bundles/ux-autocomplete/current/index.html#usage-in-a-form-with-ajax).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203