Severity
- CVSS 3.x
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Affected versions
Repository
| Affected commits | Fixed by commit |
|---|---|
| GIT github.com/django/django ↗ | |
| c669cf279ae7b3e02a61db4fb077030a4db80e4f to before bc1f79d0a01d085500aa82ff29800403291a91a4 | bc1f79d0a01d085500aa82ff29800403291a91a4 |
| df591468251ed489a3e147d7c359f387f4effe66 to before 60ebd195c99884e0cf0aee721839119079bb3046 | 60ebd195c99884e0cf0aee721839119079bb3046 |
| 2a62cdcfec85938f40abb2e9e6a9ff497e02afe8 to before 9400c96b209855d7b97e3223e4b8ba7751c357cc | 9400c96b209855d7b97e3223e4b8ba7751c357cc |
Description
An issue was discovered in Django 1.11 before 1.11.21, 2.1 before 2.1.9, and 2.2 before 2.2.2. The clickable Current URL value displayed by the AdminURLFieldWidget displays the provided value without validating it as a safe URL. Thus, an unvalidated value stored in the database, or a value provided as a URL query parameter payload, could result in an clickable JavaScript link.
References
- Weblists.opensuse.org/opensuse-security-announce/2019-08/msg00006.html ↗
- Weblists.opensuse.org/opensuse-security-announce/2019-08/msg00025.html ↗
- Webwww.securityfocus.com/bid/108559 ↗
- Webgroups.google.com/forum/#%21topic/django-announce/GEbHU7YoVz8 ↗
- Weblists.debian.org/debian-lts-announce/2019/06/msg00001.html ↗
- Weblists.debian.org/debian-lts-announce/2019/07/msg00001.html ↗
- Weblists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/USYRARSYB7PE3S2ZQO7PZNWMH7RPGL5G/ ↗
- Webseclists.org/bugtraq/2019/Jul/10 ↗
- Webusn.ubuntu.com/4043-1/ ↗
- Advisorywww.openwall.com/lists/oss-security/2019/06/03/2 ↗
- Advisorydocs.djangoproject.com/en/dev/releases/1.11.21/ ↗
- Advisorydocs.djangoproject.com/en/dev/releases/2.1.9/ ↗
- Advisorydocs.djangoproject.com/en/dev/releases/2.2.2/ ↗
- Advisorydocs.djangoproject.com/en/dev/releases/security/ ↗
- Advisorysecurity.gentoo.org/glsa/202004-17 ↗
- Advisorywww.debian.org/security/2019/dsa-4476 ↗
- Advisorywww.djangoproject.com/weblog/2019/jun/03/security-releases/ ↗