Impact: Moderate Public Date: 2019-06-03 CWE: CWE-79 Bugzilla: 1715915: CVE-2019-12308 django: missing URL validation by AdminURLFieldWidget leads to generation of clickable unsafe JavaScript link causing cross site scripting 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.
The MITRE CVE dictionary describes this issue as:
Find out more about CVE-2019-12308 from the MITRE CVE dictionary dictionary and NIST NVD.
NOTE: The following CVSS v3 metrics and score provided are preliminary and subject to review.
CVSS3 Base Score | 4.7 |
---|---|
CVSS3 Base Metrics | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N |
Attack Vector | Network |
Attack Complexity | Low |
Privileges Required | None |
User Interaction | Required |
Scope | Changed |
Confidentiality | None |
Integrity Impact | Low |
Availability Impact | None |
Platform | Package | State |
---|---|---|
Red Hat Satellite 6 | python-django | Affected |
Red Hat OpenStack Platform Operational Tools 9 | python-django | Not affected |
Red Hat OpenStack Platform 9.0 | python-django | Not affected |
Red Hat OpenStack Platform 8.0 (Liberty) | python-django | Not affected |
Red Hat OpenStack Platform 14.0 (Rocky) | python-django | Affected |
Red Hat OpenStack Platform 13.0 (Queens) | python-django | Affected |
Red Hat OpenStack Platform 10 | python-django | Not affected |
Red Hat Gluster Storage 3 | python-django | Affected |
Red Hat Enterprise Linux OpenStack Platform 8.0 Operational Tools for RHEL 7 | python-django | Not affected |
Red Hat Enterprise Linux OpenStack Platform 7.0 Operational Tools for RHEL 7 | python-django | Not affected |
Red Hat Enterprise Linux OpenStack Platform 7.0 (Kilo) for RHEL 7 | python-django | Not affected |
Red Hat Ceph Storage 3 | python-django | Not affected |
Red Hat Ceph Storage 2 | Django | Not affected |
Red Hat Ceph Storage 2 | python-django | Not affected |