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
This update was imported from the openSUSE:Leap:15.2:Update update project.
Fixed packages 2
| Release | Package | Fixed in |
|---|---|---|
| SUSE · Package Hub 15 SP2 | python-djangorestframework | 3.11.2-bp152.2.3.1 |
| SUSE · Package Hub 15 SP2 | python-djangorestframework-test | 3.11.2-bp152.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…