Improper Encoding or Escaping of Output Affecting django-tomselect package, versions [,2025.3.3)


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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-DJANGOTOMSELECT-9667380
  • published6 Apr 2025
  • disclosed26 Mar 2025
  • creditUnknown

Introduced: 26 Mar 2025

New CVE NOT AVAILABLE CWE-116  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade django-tomselect to version 2025.3.3 or higher.

Overview

django-tomselect is a Django autocomplete widgets and views using Tom Select

Affected versions of this package are vulnerable to Improper Encoding or Escaping of Output in form widget input, including the label_field parameter. An attacker can hide the contents between <script> tags in code from appearing in the output, since the browser may interpret and render the tags. Although injected, such scripts are not executed.

References

CVSS Base Scores

version 4.0
version 3.1