Vulnerability: Django Debug Page - Cross-Site Scripting

Django 1.10.x before 1.10.8 and 1.11.x before 1.11.5 has HTML autoescaping disabled in a portion of the template for the technical 500 debug page. Given the right circumstances, this allows a cross-site scripting attack. This vulnerability shouldn’t affect most production sites since run with “DEBUG = True” is not on by default (which is what makes the page visible).

Impact

Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim’s browser, leading to potential session hijacking, defacement, or theft of sensitive information.

Severity

medium

Verified

Unknown