{"id":"CVE-2025-48383","aliases":["CVE-2025-48383","GHSA-wjrh-hj83-3wh7","PYSEC-2026-1300"],"related":[],"kind":"vulnerability","state":"published","title":"Django-Select2 Vulnerable to Widget Instance Secret Cache Key Leaking","summary":"Django-Select2 is a Django integration for Select2. Prior to version 8.4.1, instances of HeavySelect2Mixin subclasses like the ModelSelect2MultipleWidget and ModelSelect2Widget can leak secret access tokens across requests. This can allow users to access restricted query sets and restricted data. This issue has been patched in version 8.4.1.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Django-Select2 is a Django integration for Select2. Prior to version 8.4.1, instances of HeavySelect2Mixin subclasses like the ModelSelect2MultipleWidget and ModelSelect2Widget can leak secret access tokens across requests. This can allow users to access restricted query sets and restricted data. This issue has been patched in version 8.4.1.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nInstances of `HeavySelect2Mixin` subclasses like the `ModelSelect2MultipleWidget` and `ModelSelect2Widget` can secret access tokens across requests. This can allow users to access restricted querysets and restricted data.\n\n### Patches\n\nThe problem has been patched in version 8.4.1 and all following versions.\n\n### Workarounds\n\nThis vulnerability is limited use cases where instances of widget classes are created during app loading (not during a request).\n\nExample of affected code:\n```python\nclass MyForm(forms.ModelForm):\n    class Meta:\n        widgets = {\"my_select_field\": Select2ModelWidget()}\n```\n\nDjango allows you to pass just the widget class (not the instance). This can be used to mitigate the session request leak.\n\nExample of affected code:\n```python\nclass MyForm(forms.ModelForm):\n    class Meta:\n        widgets = {\"my_select_field\": Select2ModelWidget}\n```\n\n\n\n### References\n\nThanks to @neartik for reporting this issue. I will address it later. I had to delete your issue, to avoid exploitation of this security issue.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Django-Select2 es una integración de Django para Select2. Antes de la versión 8.4.1, las instancias de subclases de HeavySelect2Mixin, como ModelSelect2MultipleWidget y ModelSelect2Widget, podían filtrar tokens de acceso secretos entre solicitudes. Esto permite a los usuarios acceder a conjuntos de consultas y datos restringidos. Este problema se ha corregido en la versión 8.4.1.","source":"nvd"}],"published":"2025-05-27T15:03:10.062Z","modified":"2026-09-10T03:50:24.751Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","score":8.2,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","score":8.2,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","score":8.2,"rating":"HIGH"}],"cwes":["CWE-402","CWE-918"],"affected":[{"ranges":[{"version":"< 8.4.1","status":"affected"}],"vendor":"codingjoe","product":"django-select2","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"8.4.1"}],"ecosystem":"PyPI","package":"django-select2","purl":"pkg:pypi/django-select2","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"8.4.1"}],"ecosystem":"PyPI","package":"django-select2","purl":"pkg:pypi/django-select2","source":"pysec"}],"references":[{"url":"https://github.com/codingjoe/django-select2/security/advisories/GHSA-wjrh-hj83-3wh7","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/codingjoe/django-select2/commit/e5f41e6edba004d35f94915ff5e2559f44853412","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-48383","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/codingjoe/django-select2","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/django-select2","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-wjrh-hj83-3wh7","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-05-27T15:16:58.395Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-48383","url":"https://www.cve.org/CVERecord?id=CVE-2025-48383","licence":"CVE Terms of Use","modified":"2025-05-27T15:17:02.957Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-wjrh-hj83-3wh7","url":"https://github.com/advisories/GHSA-wjrh-hj83-3wh7","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:24.751Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-48383","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-48383","licence":"Public domain","modified":"2026-06-17T09:29:35.037Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1300","url":"https://osv.dev/vulnerability/PYSEC-2026-1300","licence":"CC-BY-4.0","modified":"2026-07-07T17:46:34.969Z"}],"updatedAt":"2026-11-25T22:58:58.514Z","epss":{"score":0.00331,"percentile":0.28328,"date":"2026-12-01T12:00:22.000Z"}}