PYSEC-2019-9
not scored yetwithdrawn / rejectedAn 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.
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | django | >= 2.1, < 2.1.9; >= 1.11, < 1.11.21; >= 2.2, < 2.2.2 | 2.1.9, 1.11.21, 2.2.2 |
References
- https://www.djangoproject.com/weblog/2019/jun/03/security-releases/ · WEB
- https://groups.google.com/forum/#!topic/django-announce/GEbHU7YoVz8 · WEB
- https://docs.djangoproject.com/en/dev/releases/security/ · WEB
- https://docs.djangoproject.com/en/dev/releases/2.2.2/ · WEB
- https://docs.djangoproject.com/en/dev/releases/2.1.9/ · WEB
- https://docs.djangoproject.com/en/dev/releases/1.11.21/ · WEB
- http://www.openwall.com/lists/oss-security/2019/06/03/2 · WEB
- http://www.securityfocus.com/bid/108559 · WEB
- https://lists.debian.org/debian-lts-announce/2019/06/msg00001.html · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/USYRARSYB7PE3S2ZQO7PZNWMH7RPGL5G/ · WEB
- https://usn.ubuntu.com/4043-1/ · WEB
- https://lists.debian.org/debian-lts-announce/2019/07/msg00001.html · WEB
- https://www.debian.org/security/2019/dsa-4476 · WEB
- https://seclists.org/bugtraq/2019/Jul/10 · WEB
- http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00006.html · WEB
- http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00025.html · WEB
- https://security.gentoo.org/glsa/202004-17 · WEB
History
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 3 Jun 2019)