Advisory

GHSA-c8c8-9472-w52h

Also known as: CVE-2016-6186, PYSEC-2016-2

Summary

Django Cross-site scripting Vulnerability

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

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-14 02:46 UTC
Modified
2024-09-17 15:22 UTC

Affected packages and fixes

django

PyPI · All systems

Affected

  • introduced 0, fixed 1.8.14 (ecosystem)

Fixed versions

1.8.14

Fix

  • Fixed version 1.8.14
    pip install --upgrade django==1.8.14

django

PyPI · All systems

Affected

  • introduced 1.9, fixed 1.9.8 (ecosystem)

Fixed versions

1.9.8

Fix

  • Fixed version 1.9.8
    pip install --upgrade django==1.9.8

django

PyPI · All systems

Affected

  • introduced 1.10a1, fixed 1.10rc1 (ecosystem)

Fixed versions

1.10rc1

Fix

  • 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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences