Advisory

PYSEC-2017-44

Also known as: CVE-2017-12794, GHSA-9r8w-6x8c-6jr9

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2017-09-07 13:29 UTC
Modified
2023-11-08 03:58 UTC

Affected packages and fixes

django

PyPI · All systems

Affected

  • introduced 1.10, fixed 1.10.8, introduced 1.11, fixed 1.11.5 (ecosystem)

Fixed versions

1.10.8, 1.11.5

Fix

  • Fixed version 1.10.8
    pip install --upgrade django==1.10.8
  • Fixed version 1.11.5
    pip install --upgrade django==1.11.5

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences