Back
CVE-2019-12308
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…
Medium6.1EPSS 2.4%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | Medium6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- 2.4% · top 16% of all CVEs (6 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.1.
Weakness
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPIDjangoGHSA-7rp2-fm2h-wchj (opens in a new tab)
References (17)
- https://docs.djangoproject.com/en/dev/releases/security/ (opens in a new tab)x_refsource_MISCx_transferred
- [oss-security] 20190603 Django: CVE-2019-12308 AdminURLFieldWidget XSS (plus patched bundled jQuery for CVE-2019-11358) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://groups.google.com/forum/#%21topic/django-announce/GEbHU7YoVz8 (opens in a new tab)x_refsource_MISCx_transferred
- https://docs.djangoproject.com/en/dev/releases/1.11.21/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://docs.djangoproject.com/en/dev/releases/2.1.9/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://docs.djangoproject.com/en/dev/releases/2.2.2/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://www.djangoproject.com/weblog/2019/jun/03/security-releases/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- 108559 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- [debian-lts-announce] 20190605 [SECURITY] [DLA 1814-1] python-django security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- FEDORA-2019-57a4324120 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- USN-4043-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- [debian-lts-announce] 20190701 [SECURITY] [DLA 1842-1] python-django security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- DSA-4476 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- 20190708 [SECURITY] [DSA 4476-1] python-django security update (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- openSUSE-SU-2019:1839 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- openSUSE-SU-2019:1872 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- GLSA-202004-17 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-7rp2-fm2h-wchj (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2019-12308)Record last updated .