Cross-site Scripting (XSS) Affecting django package, versions [1.11.0,1.11.21)[2.1.0,2.1.9)[2.2.0, 2.2.2)


Severity

Recommended
0.0
low
0
10

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

Threat Intelligence

EPSS
1.47% (88th 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 Learn

Learn about Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-DJANGO-174885
  • published3 Jun 2019
  • disclosed3 Jun 2019
  • creditUnknown

Introduced: 3 Jun 2019

CVE-2019-12308  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade Django to version 1.11.21, 2.1.9, 2.2.2 or higher.

Overview

Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS). The clickable Current URL value displayed by the AdminURLFieldWidget displays the provided value without validating it as a safe URL. Thus, an unvalidated value stored in the database, or a value provided as a URL query parameter payload, could result in an clickable JavaScript link.

Details

CVSS Scores

version 3.1