Summary
This update for python-djangorestframework fixes the following issues:
Update to 3.11.2
* Security: Drop urlize_quoted_links template tag in favour of
Django's built-in urlize. Removes a XSS vulnerability for some
kinds of content in the browsable API. (boo#1177205, CVE-2020-25626)
* update Django for APIs book to 3.0 edition
* decode base64 credentials as utf8; adjust tests
* Remove compat urls for Django < 2.0
Fixed packages 2
| Release | Package | Fixed in |
|---|---|---|
| openSUSE · Leap 15.2 | python-djangorestframework | 3.11.2-lp152.2.3.1 |
| openSUSE · Leap 15.2 | python-djangorestframework-test | 3.11.2-lp152.2.3.1 |
Vulnerabilities 1
-
Medium 6.1
Cross-site Scripting (XSS) in Django REST Framework
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 st…