Cross-site Scripting (XSS) Affecting python-django package, versions <1:1.11.5-1


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.22% (61st 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-DEBIAN12-PYTHONDJANGO-1558010
  • published7 Sept 2017
  • disclosed7 Sept 2017

Introduced: 7 Sep 2017

CVE-2017-12794  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade Debian:12 python-django to version 1:1.11.5-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-django package and not the python-django package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

In Django 1.10.x before 1.10.8 and 1.11.x before 1.11.5, HTML autoescaping was disabled in a portion of the template for the technical 500 debug page. Given the right circumstances, this allowed a cross-site scripting attack. This vulnerability shouldn't affect most production sites since you shouldn't run with "DEBUG = True" (which makes this page accessible) in your production settings.