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

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.64%, higher than 51% of CVEs (2026-12-02)
- Published: 2023-09-11T14:43:05.000Z
- Modified: 2026-09-10T03:50:03.208Z
- Also known as: GHSA-4cpv-669c-r79x
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- symfony ux-autocomplete: < 2.11.2
- symfony ux_autocomplete: before 2.11.2
- symfony/ux-autocomplete (Packagist): before 2.11.2

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://github.com/symfony/ux-autocomplete/security/advisories/GHSA-4cpv-669c-r79x> (vendor-advisory, web)
- <https://github.com/symfony/ux-autocomplete/commit/fabcb2eee14b9e84a45b276711853a560b5d770c> (patch, web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/ux-autocomplete/CVE-2023-41336.yaml> (third-party-advisory, web)
- <https://symfony.com/bundles/ux-autocomplete/current/index.html#usage-in-a-form-with-ajax> (product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-41336> (advisory)
- <https://github.com/symfony/ux-autocomplete> (package)

## Sources

- CVE List: [CVE-2023-41336](https://www.cve.org/CVERecord?id=CVE-2023-41336), CVE Terms of Use, modified 2024-09-26
- GitHub Advisory Database: [GHSA-4cpv-669c-r79x](https://github.com/advisories/GHSA-4cpv-669c-r79x), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-41336](https://nvd.nist.gov/vuln/detail/CVE-2023-41336), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-41336 · Whole record: https://cve.day/CVE-2023-41336.json · Rebuilt by cve.day 2026-11-25T22:58:27.801Z
