Advisory

PYSEC-2020-32

Also known as: BIT-django-2020-13596, CVE-2020-13596, GHSA-2m34-jcjv-45xf

Summary

The record has no summary.

Details

An issue was discovered in Django 2.2 before 2.2.13 and 3.0 before 3.0.7. Query parameters generated by the Django admin ForeignKeyRawIdWidget were not properly URL encoded, leading to a possibility of an XSS attack.

Severity

Not rated by the source.

Dates

Published
2020-06-03 14:15 UTC
Modified
2023-12-06 01:00 UTC

Affected packages and fixes

django

PyPI · All systems

Affected

  • introduced 2.2, fixed 2.2.13, introduced 3.0, fixed 3.0.7 (ecosystem)

Fixed versions

2.2.13, 3.0.7

Fix

  • Fixed version 2.2.13
    pip install --upgrade django==2.2.13
  • Fixed version 3.0.7
    pip install --upgrade django==3.0.7

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