Advisory

PYSEC-2020-263

Also known as: CVE-2020-25626, GHSA-fx83-3ph3-9j2q

Summary

The record has no summary.

Details

A flaw was found in Django REST Framework versions before 3.12.0 and before 3.11.2. When using the browseable API viewer, Django REST Framework fails to properly escape certain strings that can come from user input. This allows a user who can control those strings to inject malicious <script> tags, leading to a cross-site-scripting (XSS) vulnerability.

Severity

Not rated by the source.

Dates

Published
2020-09-30 20:15 UTC
Modified
2023-11-08 04:03 UTC

Affected packages and fixes

djangorestframework

PyPI · All systems

Affected

  • introduced 0, fixed 3.11.2 (ecosystem)

Fixed versions

3.11.2

Fix

  • Fixed version 3.11.2
    pip install --upgrade djangorestframework==3.11.2

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