Transmission of Private Resources into a New Sphere ('Resource Leak') Affecting django-select2 package, versions [,8.4.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-DJANGOSELECT2-10255155
  • published28 May 2025
  • disclosed27 May 2025
  • creditQuentin Mortier

Introduced: 27 May 2025

NewCVE-2025-48383  (opens in a new tab)
CWE-402  (opens in a new tab)

How to fix?

Upgrade django-select2 to version 8.4.1 or higher.

Overview

django-select2 is a Django integration of Select2.

Affected versions of this package are vulnerable to Transmission of Private Resources into a New Sphere ('Resource Leak') via a HeavySelect2Mixin class in forms.py. An attacker can access restricted data by exploiting the reuse of widget instances across different requests. This is limited to use cases where instances of widget classes are created during app loading and not during a request.

Workaround

This vulnerability can be mitigated by passing the widget class instead of an instance in the form definitions.

CVSS Base Scores

version 4.0
version 3.1