Cross-site Scripting (XSS) Affecting python-django package, versions <1:1.11.21-1
Snyk CVSS
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-DEBIANUNSTABLE-PYTHONDJANGO-349295
- published 3 Jun 2019
- disclosed 3 Jun 2019
Introduced: 3 Jun 2019
CVE-2019-12308 Open this link in a new tabHow to fix?
Upgrade Debian:unstable
python-django
to version 1:1.11.21-1 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream python-django
package and not the python-django
package as distributed by Debian
.
See How to fix?
for Debian:unstable
relevant fixed versions and status.
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
- https://security-tracker.debian.org/tracker/CVE-2019-12308
- https://seclists.org/bugtraq/2019/Jul/10
- https://docs.djangoproject.com/en/dev/releases/1.11.21/
- https://docs.djangoproject.com/en/dev/releases/2.1.9/
- https://docs.djangoproject.com/en/dev/releases/2.2.2/
- https://www.djangoproject.com/weblog/2019/jun/03/security-releases/
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-12308
- https://www.debian.org/security/2019/dsa-4476
- https://lists.debian.org/debian-lts-announce/2019/06/msg00001.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/USYRARSYB7PE3S2ZQO7PZNWMH7RPGL5G/
- https://security.gentoo.org/glsa/202004-17
- https://groups.google.com/forum/#!topic/django-announce/GEbHU7YoVz8
- https://docs.djangoproject.com/en/dev/releases/security/
- https://lists.debian.org/debian-lts-announce/2019/07/msg00001.html
- http://www.openwall.com/lists/oss-security/2019/06/03/2
- http://www.securityfocus.com/bid/108559
- http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00006.html
- http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00025.html
- https://usn.ubuntu.com/4043-1/
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2019-12308
- https://groups.google.com/forum/#%21topic/django-announce/GEbHU7YoVz8
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/USYRARSYB7PE3S2ZQO7PZNWMH7RPGL5G/