Advisory

PYSEC-2016-2

Also known as: CVE-2016-6186, GHSA-c8c8-9472-w52h

Summary

The record has no summary.

Details

Cross-site scripting (XSS) vulnerability in the dismissChangeRelatedObjectPopup function in contrib/admin/static/admin/js/admin/RelatedObjectLookups.js in Django before 1.8.14, 1.9.x before 1.9.8, and 1.10.x before 1.10rc1 allows remote attackers to inject arbitrary web script or HTML via vectors involving unsafe usage of Element.innerHTML.

Severity

Not rated by the source.

Dates

Published
2016-08-05 15:59 UTC
Modified
2026-06-10 17:00 UTC

Affected packages and fixes

django

PyPI · All systems

Affected

  • introduced 0, fixed 1.8.14, introduced 1.9, fixed 1.9.8, introduced 1.10a0, fixed 1.10rc1 (ecosystem)

Fixed versions

1.8.14, 1.9.8, 1.10rc1

Fix

  • Fixed version 1.8.14
    pip install --upgrade django==1.8.14
  • Fixed version 1.9.8
    pip install --upgrade django==1.9.8
  • Fixed version 1.10rc1
    pip install --upgrade django==1.10rc1

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