Feed
6.1MEDIUM
CVE-2019-12308Django Cross-site Scripting in AdminURLFieldWidget
A medium-severity vulnerability reachable over the network, needing no privileges and user interaction. EPSS estimates a 2.4% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 2.4%
- percentile 85%
- Fix
- Named by a source
- CVE published 3 Jun 2019
Reference
None of the "Needs attention" rules apply right now.
EPSS 2.4% (+2) · Network attack vector (+10) · No privileges required (+5)
Immediate actions
- django (PyPI): upgrade to 1.11.21 / 2.1.9 / 2.2.2 or later on your release line.
- Commit / pull request: https://github.com/django/django/commit/09186a13d975de6d049f8b3e05484f66b01ece62
- Commit / pull request: https://github.com/django/django/commit/afddabf8428ddc89a332f7a78d0d21eaf2b5a673
- Commit / pull request: https://github.com/django/django/commit/c238701859a52d584f349cce15d56c8e8137c52b
Who should check
django (PyPI) pkg:pypi/django
- Affected>= 1.11a1, < 1.11.21Fixed in1.11.21OSV (GHSA-7rp2-fm2h-wchj)
- Affected>= 2.1a1, < 2.1.9Fixed in2.1.9OSV (GHSA-7rp2-fm2h-wchj)
- Affected>= 2.2a1, < 2.2.2Fixed in2.2.2OSV (GHSA-7rp2-fm2h-wchj)
- Affected>= 2.1, < 2.1.9Fixed in2.1.9OSV (PYSEC-2019-79)
- Affected>= 1.11, < 1.11.21Fixed in1.11.21OSV (PYSEC-2019-79)
- Affected>= 2.2, < 2.2.2Fixed in2.2.2OSV (PYSEC-2019-79)
Confirmed facts
- CVSS
- 6.1 MEDIUM (version 3.0)
- Score from
- GitHub Advisory Database (GHSA-7rp2-fm2h-wchj)
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- required
- Weakness
- CWE-79
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)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.
Update history
No events recorded. Our history starts on 1 Jan 2025.
References
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2019-12308
- commit / pull requesthttps://github.com/django/django/commit/09186a13d975de6d049f8b3e05484f66b01ece62
- commit / pull requesthttps://github.com/django/django/commit/afddabf8428ddc89a332f7a78d0d21eaf2b5a673
- commit / pull requesthttps://github.com/django/django/commit/c238701859a52d584f349cce15d56c8e8137c52b
- otherhttps://www.djangoproject.com/weblog/2019/jun/03/security-releases
- advisoryhttps://www.debian.org/security/2019/dsa-4476
- otherhttps://usn.ubuntu.com/4043-1
- advisoryhttps://security.gentoo.org/glsa/202004-17
- otherhttps://seclists.org/bugtraq/2019/Jul/10
- otherhttps://lists.fedoraproject.org/archives/list/[email protected]/message/USYRARSYB7PE3S2ZQO7PZNWMH7RPGL5G
- otherhttps://lists.debian.org/debian-lts-announce/2019/07/msg00001.html
- otherhttps://lists.debian.org/debian-lts-announce/2019/06/msg00001.html
- otherhttps://groups.google.com/forum/#!topic/django-announce/GEbHU7YoVz8
- otherhttps://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2019-79.yaml
- otherhttps://github.com/django/django
- advisoryhttps://github.com/advisories/GHSA-7rp2-fm2h-wchj
- otherhttps://docs.djangoproject.com/en/dev/releases/security
- otherhttps://docs.djangoproject.com/en/dev/releases/2.2.2
- otherhttps://docs.djangoproject.com/en/dev/releases/2.1.9
- otherhttps://docs.djangoproject.com/en/dev/releases/1.11.21
- otherhttp://lists.opensuse.org/opensuse-security-announce/2019-08/msg00006.html
- otherhttp://lists.opensuse.org/opensuse-security-announce/2019-08/msg00025.html
- otherhttp://www.openwall.com/lists/oss-security/2019/06/03/2
- otherhttps://www.djangoproject.com/weblog/2019/jun/03/security-releases/
- otherhttps://docs.djangoproject.com/en/dev/releases/security/
- otherhttps://docs.djangoproject.com/en/dev/releases/2.2.2/
- otherhttps://docs.djangoproject.com/en/dev/releases/2.1.9/
- otherhttps://docs.djangoproject.com/en/dev/releases/1.11.21/
- otherhttp://www.securityfocus.com/bid/108559
- otherhttps://lists.fedoraproject.org/archives/list/[email protected]/message/USYRARSYB7PE3S2ZQO7PZNWMH7RPGL5G/
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- GHSA-7rp2-fm2h-wchj (GitHub Advisory Database), CC BY 4.0.
- PYSEC-2019-79 (PyPA Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 38 min ago · osv 38 min ago · nvd 7 min ago · epss 37 min ago · JSON · ask via MCP: explain_vulnerability
Also known as GHSA-7rp2-fm2h-wchj, PYSEC-2019-79