Skip to content
Heist/ feed
Back to feed
Medium

Prevent injection of invalid entity ids for "autocomplete" fields in symfony ux-autocomplete

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-41336
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 03:46 UTC · Revision 1

Source evidence

Prevent injection of invalid entity ids for "autocomplete" fields in symfony ux-autocomplete

core-osv · Original source

Published 11 Sept 2023, 19:21 UTC

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.

osv:CVE-2023-41336
Complete source record
{
  "id": "a57646d84ac2f8039d52a7817b9d7c873016ce19f011ae962081a975ea74bf71",
  "url": "https://osv.dev/vulnerability/CVE-2023-41336",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Prevent injection of invalid entity ids for \"autocomplete\" fields in symfony ux-autocomplete",
    "summary": "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.",
    "evidence": "osv:CVE-2023-41336",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2023-41336",
      "aliases": [
        "CVE-2023-41336",
        "GHSA-4cpv-669c-r79x"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/symfony/ux-autocomplete",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "fabcb2eee14b9e84a45b276711853a560b5d770c"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.11.2"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "fabcb2eee14b9e84a45b276711853a560b5d770c"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "cpe": "cpe:2.3:a:symfony:ux_autocomplete:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.11.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.11.1",
            "v2.11.0",
            "v2.10.0",
            "v2.9.1",
            "v2.9.0",
            "v2.8.1",
            "v2.8.0",
            "v2.7.1",
            "v2.7.0",
            "v2.6.1",
            "v2.6.0",
            "v2.5.0",
            "v2.3.0",
            "v2.2.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-41336.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:49.531212596Z",
      "provider": "osv",
      "references": [
        "https://symfony.com/bundles/ux-autocomplete/current/index.html#usage-in-a-form-with-ajax",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/41xxx/CVE-2023-41336.json",
        "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/ux-autocomplete/CVE-2023-41336.yaml",
        "https://github.com/symfony/ux-autocomplete/security/advisories/GHSA-4cpv-669c-r79x",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-41336",
        "https://github.com/symfony/ux-autocomplete/commit/fabcb2eee14b9e84a45b276711853a560b5d770c"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-20"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/41xxx/CVE-2023-41336.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-41336",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 517872,
  "published_at": "2023-09-11T19:21:48.938+00:00"
}