XSS in Djangoproject Django
CVE-2019-12308
- CVSS v3
- 6.1 Medium
- Public exploits
- None known
- EPSS
- 0.024 · 84.3th percentile
- Published
- 2019-06-03
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.024, 84.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (nttdevopscc/awesome-django-security, vintasoftware/awesome-django-security). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- docs.djangoproject.com/en/dev/releases/security/ (Vendor Advisory)
- [oss-security] 20190603 Django: CVE-2019-12308 AdminURLFieldWidget XSS (plus patched bundled jQuery for CVE-2019-11358) (mailing-list, Mailing List, Third Party Advisory)
- groups.google.com/forum/
- docs.djangoproject.com/en/dev/releases/1.11.21/ (Vendor Advisory)
- docs.djangoproject.com/en/dev/releases/2.1.9/ (Vendor Advisory)
- docs.djangoproject.com/en/dev/releases/2.2.2/ (Vendor Advisory)
- www.djangoproject.com/weblog/2019/jun/03/security-releases/ (Vendor Advisory)
- www.securityfocus.com/bid/108559 (vdb-entry)
- [debian-lts-announce] 20190605 [SECURITY] [DLA 1814-1] python-django security update (mailing-list)
- FEDORA-2019-57a4324120 (vendor-advisory)