{"id":"CVE-2025-48383","aliases":["DEBIAN-CVE-2025-48383","EUVD-2025-28218","GHSA-wjrh-hj83-3wh7","PYSEC-2026-1300","UBUNTU-CVE-2025-48383"],"status":"published","title":"Django-Select2 Vulnerable to Widget Instance Secret Cache Key Leaking","description":"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.","severity":{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00325,"percentile":0.25794,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-402","CWE-918"],"published":"2025-05-27T15:03:10Z","modified":"2026-10-28T02:30:40Z","fixes":[{"ecosystem":"PyPI","package":"django-select2","fixed_in":["8.4.1"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:13","package":"django-select2","fixed_in":["7.10.0-2"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"django-select2","fixed_in":["7.10.0-2"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"django-select2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.4.1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"django-select2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.10.0-2"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"django-select2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.10.0-2"}]}]},{"source":"osv","ecosystem":"PyPI","package":"django-select2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.4.1"}]}],"versions":["2.0.1","3.0","3.0.1","3.0.2","3.1.0","3.1.1","3.1.2","3.1.3","3.1.4","3.1.5","3.2.0","3.2.1","3.3.0","3.3.1","4.0.0","4.2.0","4.2.1","4.2.2","4.3.0","4.3.1","4.3.2","5.0.0","5.0.1","5.0.2","5.0.3","5.1.0","5.1.1","5.10.0","5.11.0","5.11.1","5.2.0","5.2.1","5.3.0","5.3.1","5.4.0","5.4.1","5.4.2","5.4.3","5.5.0","5.6.0","5.7.0","5.7.1","5.8.0","5.8.1","5.8.10","5.8.2","5.8.3","5.8.4","5.8.5","5.8.6","5.8.7","5.8.9","5.9.0","6.0.0","6.0.1","6.0.2","6.0.3","6.1.0","6.1.1","6.1.2","6.2.0","6.3.0","6.3.1","7.0.2","7.0.3","7.0.4","7.0.5","7.1.0","7.1.1","7.1.2","7.10.0","7.10.1","7.11.0","7.11.1","7.2.0","7.2.2","7.2.3","7.2.4","7.3.0","7.4.1","7.4.2","7.5.0","7.6.0","7.6.1","7.6.2","7.7.0","7.7.1","7.7.2","7.7.3","7.8.1","7.9.0","8.0.0","8.1.0","8.1.1","8.1.2","8.2.0","8.2.1","8.2.2","8.2.3","8.2.4","8.3.0","8.4.0"]},{"source":"osv","ecosystem":"PyPI","package":"django-select2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.4.1"}]}],"versions":["2.0.1","3.0","3.0.1","3.0.2","3.1.0","3.1.1","3.1.2","3.1.3","3.1.4","3.1.5","3.2.0","3.2.1","3.3.0","3.3.1","4.0.0","4.2.0","4.2.1","4.2.2","4.3.0","4.3.1","4.3.2","5.0.0","5.0.1","5.0.2","5.0.3","5.1.0","5.1.1","5.10.0","5.11.0","5.11.1","5.2.0","5.2.1","5.3.0","5.3.1","5.4.0","5.4.1","5.4.2","5.4.3","5.5.0","5.6.0","5.7.0","5.7.1","5.8.0","5.8.1","5.8.10","5.8.2","5.8.3","5.8.4","5.8.5","5.8.6","5.8.7","5.8.9","5.9.0","6.0.0","6.0.1","6.0.2","6.0.3","6.1.0","6.1.1","6.1.2","6.2.0","6.3.0","6.3.1","7.0.2","7.0.3","7.0.4","7.0.5","7.1.0","7.1.1","7.1.2","7.10.0","7.10.1","7.11.0","7.11.1","7.2.0","7.2.2","7.2.3","7.2.4","7.3.0","7.4.1","7.4.2","7.5.0","7.6.0","7.6.1","7.6.2","7.7.0","7.7.1","7.7.2","7.7.3","7.8.1","7.9.0","8.0.0","8.1.0","8.1.1","8.1.2","8.2.0","8.2.1","8.2.2","8.2.3","8.2.4","8.3.0","8.4.0"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"django-select2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.7.2-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"django-select2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.7.2-1","7.10.0-1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"django-select2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.10.0-1","7.10.0-2"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"django-select2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.10.0-3"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"django-select2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.10.0-2","7.10.0-3"]}],"products":[{"vendor":"codingjoe","product":"django-select2"}],"references":[{"url":"https://github.com/codingjoe/django-select2/security/advisories/GHSA-wjrh-hj83-3wh7","tags":["x_refsource_CONFIRM","advisory","web","report"]},{"url":"https://github.com/codingjoe/django-select2/commit/e5f41e6edba004d35f94915ff5e2559f44853412","tags":["x_refsource_MISC","fix","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-48383","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-wjrh-hj83-3wh7","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/48xxx/CVE-2025-48383.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-48383","tags":["advisory"]},{"url":"https://github.com/codingjoe/django-select2","tags":["package"]},{"url":"https://pypi.org/project/django-select2","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2025-48383","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-48383","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2025-48383","title":"Django-Select2 Vulnerable to Widget Instance Secret Cache Key Leaking","description":"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.","status":"published","published":"2025-05-27T15:03:10.062Z","modified":"2025-05-27T15:17:02.957Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","level":"high","assessor":"cna"}],"cwes":["CWE-402","CWE-918"],"updated_at":"2026-11-02T14:32:41.089134Z"}],"euvd":[{"id":"EUVD-2025-28218","description":"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.","status":"published","published":"2025-05-27T15:03:10Z","modified":"2025-05-27T15:17:02Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","level":"high"}],"updated_at":"2026-11-02T20:32:38.348652Z"}],"ghsa":[{"id":"GHSA-wjrh-hj83-3wh7","title":"Django-Select2 Vulnerable to Widget Instance Secret Cache Key Leaking","description":"### 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.","status":"published","published":"2025-05-27T18:03:19Z","modified":"2025-05-27T18:03:19Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","level":"high"}],"cwes":["CWE-402","CWE-918"],"updated_at":"2026-11-02T14:38:44.991725Z"}],"nvd":[{"id":"CVE-2025-48383","description":"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.","status":"published","published":"2025-05-27T15:15:35.143Z","modified":"2026-06-17T09:29:35.037Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","level":"high","assessor":"secondary"}],"cwes":["CWE-402","CWE-918"],"updated_at":"2026-11-02T14:11:09.562272Z"}],"osv":[{"id":"CVE-2025-48383","title":"Django-Select2 Vulnerable to Widget Instance Secret Cache Key Leaking","description":"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.","status":"published","published":"2025-05-27T15:03:10.062Z","modified":"2026-10-28T02:30:40.822715185Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","level":"high"}],"cwes":["CWE-402","CWE-918"],"updated_at":"2026-11-02T15:44:50.037003Z"},{"id":"DEBIAN-CVE-2025-48383","description":"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.","status":"published","published":"2025-05-27T15:15:35.143Z","modified":"2026-09-01T20:05:53.548756129Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","level":"high"}],"updated_at":"2026-11-02T15:45:47.378563Z"},{"id":"GHSA-wjrh-hj83-3wh7","title":"Django-Select2 Vulnerable to Widget Instance Secret Cache Key Leaking","description":"### 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.","status":"published","published":"2025-05-27T18:03:19Z","modified":"2026-09-10T03:50:24.751328727Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","level":"high"}],"cwes":["CWE-402","CWE-918"],"updated_at":"2026-11-02T15:46:58.767335Z"},{"id":"PYSEC-2026-1300","title":"Django-Select2 Vulnerable to Widget Instance Secret Cache Key Leaking","description":"### 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.","status":"published","published":"2026-07-07T16:02:53.098211Z","modified":"2026-07-07T17:46:34.969610478Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","level":"high"}],"updated_at":"2026-11-02T15:52:54.622769Z"},{"id":"UBUNTU-CVE-2025-48383","description":"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.","status":"published","published":"2025-05-27T15:15:00Z","modified":"2026-10-17T12:57:28.68820835Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","level":"high"}],"updated_at":"2026-11-02T16:55:50.31802Z"}]}}
