CVE catalog

CVE-2019-12308

python-django: CVE-2019-12308

[CVE catalog]

Severity
Medium · CVSS 6.1CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Published
Source
[NVD] · [CVE record]
EPSS
2.40% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpython-djangosid3:5.2.18-1fixed
Debianpython-djangoforky3:5.2.17-2fixed
Debianpython-djangotrixie3:4.2.28-0+deb13u2fixed
Debianpython-djangotrixie-security3:4.2.28-0+deb13u1fixed
Debianpython-djangobookworm3:3.2.25-0+deb12u3fixed
Debianpython-djangobookworm-security3:3.2.25-0+deb12u6fixed
Ubuntupython-djangopro1.7.9-1ubuntu5vulnerable
Ubuntupython-djangopro1.8.5-2ubuntu1vulnerable
Ubuntupython-djangopro1.8.7-1ubuntu1vulnerable
Ubuntupython-djangopro1.8.7-1ubuntu2vulnerable
Ubuntupython-djangopro1.8.7-1ubuntu3vulnerable
Ubuntupython-djangopro1.8.7-1ubuntu4vulnerable
Ubuntupython-djangopro1.8.7-1ubuntu5vulnerable
Ubuntupython-djangopro1.8.7-1ubuntu5.1vulnerable
Ubuntupython-djangopro1.8.7-1ubuntu5.2vulnerable
Ubuntupython-djangopro1.8.7-1ubuntu5.4vulnerable
Ubuntupython-djangopro1.8.7-1ubuntu5.5vulnerable
Ubuntupython-djangopro1.8.7-1ubuntu5.6vulnerable
Ubuntupython-djangopro1.8.7-1ubuntu5.7vulnerable
Ubuntupython-djangopro1.8.7-1ubuntu5.8vulnerable
Ubuntupython-djangopro1.8.7-1ubuntu5.9vulnerable
Ubuntupython-djangopro1.8.7-1ubuntu5.10vulnerable
Ubuntupython-djangopro1.8.7-1ubuntu5.11vulnerable
Ubuntupython-djangopro1.8.7-1ubuntu5.12vulnerable
Ubuntupython-djangopro1.8.7-1ubuntu5.13vulnerable
Ubuntupython-djangopro1.8.7-1ubuntu5.14vulnerable
Ubuntupython-djangopro1.8.7-1ubuntu5.15vulnerable
Ubuntupython-djangopro1.8.7-1ubuntu5.15+esm1vulnerable
Ubuntupython-djangopro1.8.7-1ubuntu5.15+esm3vulnerable
Ubuntupython-djangopro1.8.7-1ubuntu5.15+esm4vulnerable
Ubuntupython-djangopro1.8.7-1ubuntu5.15+esm5vulnerable
Ubuntupython-djangopro1.8.7-1ubuntu5.15+esm6vulnerable
Ubuntupython-djangopro1.8.7-1ubuntu5.15+esm7vulnerable
Ubuntupython-djangopro1.8.7-1ubuntu5.15+esm8vulnerable
Ubuntupython-djangopro1.8.7-1ubuntu5.15+esm9vulnerable
Ubuntupython-djangopro1.8.7-1ubuntu5.15+esm10vulnerable
Ubuntupython-djangopro1.8.7-1ubuntu5.15+esm11vulnerable
Ubuntupython-djangopro1.8.7-1ubuntu5.15+esm12vulnerable
Ubuntupython-djangopro1.8.7-1ubuntu5.15+esm13vulnerable
Ubuntupython-django18.041:1.11.4-1ubuntu1vulnerable
Ubuntupython-django18.041:1.11.6-1ubuntu1vulnerable
Ubuntupython-django18.041:1.11.9-1ubuntu1vulnerable
Ubuntupython-django18.041:1.11.11-1ubuntu1vulnerable
Ubuntupython-django18.041:1.11.11-1ubuntu1.1vulnerable
Ubuntupython-django18.041:1.11.11-1ubuntu1.2vulnerable
Ubuntupython-django18.041:1.11.11-1ubuntu1.3vulnerable
Ubuntupython-django18.041:1.11.11-1ubuntu1.4fixed
Alpinepy-django3.101.11.21-r0fixed
Alpinepy-django3.71.11.21-r0fixed
Alpinepy-django3.81.11.21-r0fixed
Alpinepy-django3.91.11.21-r0fixed
Alpinepy3-django3.111.11.21-r0fixed
Alpinepy3-django3.121.11.21-r0fixed
Ubuntupython-django16.041.7.9-1ubuntu5vulnerable
Ubuntupython-django16.041.8.5-2ubuntu1vulnerable
Ubuntupython-django16.041.8.7-1ubuntu1vulnerable
Ubuntupython-django16.041.8.7-1ubuntu2vulnerable
Ubuntupython-django16.041.8.7-1ubuntu3vulnerable
Ubuntupython-django16.041.8.7-1ubuntu4vulnerable
Ubuntupython-django16.041.8.7-1ubuntu5vulnerable
Ubuntupython-django16.041.8.7-1ubuntu5.1vulnerable
Ubuntupython-django16.041.8.7-1ubuntu5.2vulnerable
Ubuntupython-django16.041.8.7-1ubuntu5.4vulnerable
Ubuntupython-django16.041.8.7-1ubuntu5.5vulnerable
Ubuntupython-django16.041.8.7-1ubuntu5.6vulnerable
Ubuntupython-django16.041.8.7-1ubuntu5.7vulnerable
Ubuntupython-django16.041.8.7-1ubuntu5.8vulnerable
Ubuntupython-django16.041.8.7-1ubuntu5.9fixed
Ubuntupython-django18.041:1.11.4-1ubuntu1vulnerable
Ubuntupython-django18.041:1.11.6-1ubuntu1vulnerable
Ubuntupython-django18.041:1.11.9-1ubuntu1vulnerable
Ubuntupython-django18.041:1.11.11-1ubuntu1vulnerable
Ubuntupython-django18.041:1.11.11-1ubuntu1.1vulnerable
Ubuntupython-django18.041:1.11.11-1ubuntu1.2vulnerable
Ubuntupython-django18.041:1.11.11-1ubuntu1.3vulnerable
Ubuntupython-django18.041:1.11.11-1ubuntu1.4fixed
Opensusepython-Djangoleap 15.52.0.7-150000.1.27.1fixed
Susepython-Djangohpe helion openstack 81.11.23-3.12.1fixed
Susepython-Djangoopenstack cloud 81.11.23-3.12.1fixed
Susepython-Djangoopenstack cloud crowbar 81.11.23-3.12.1fixed
Susepython-Django1openstack cloud 91.11.20-3.6.1fixed
Susepython-Django1openstack cloud crowbar 91.11.20-3.6.1fixed
Susepython-Django1openstack cloud 91.11.23-3.9.1fixed
Susepython-Django1openstack cloud crowbar 91.11.23-3.9.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpython-djangosourcesid1:1.11.21-1not yet assignedNot reported[929927]
Debianpython-djangosourceforky1:1.11.21-1not yet assignedNot reported[929927]
Debianpython-djangosourcetrixie1:1.11.21-1not yet assignedNot reported[929927]
Debianpython-djangosourcebookworm1:1.11.21-1not yet assignedNot reported[929927]
Ubuntupython-djangodeb18.041:1.11.11-1ubuntu1.4Not reportedUBUNTU-CVE-2019-12308Not reported
Alpinepy-djangoapk3.101.11.21-r0Not reportedALPINE-CVE-2019-12308Not reported
Alpinepy-djangoapk3.71.11.21-r0Not reportedALPINE-CVE-2019-12308Not reported
Alpinepy-djangoapk3.81.11.21-r0Not reportedALPINE-CVE-2019-12308Not reported
Alpinepy-djangoapk3.91.11.21-r0Not reportedALPINE-CVE-2019-12308Not reported
Alpinepy3-djangoapk3.111.11.21-r0Not reportedALPINE-CVE-2019-12308Not reported
Alpinepy3-djangoapk3.121.11.21-r0Not reportedALPINE-CVE-2019-12308Not reported
Ubuntupython-djangodeb16.041.8.7-1ubuntu5.9Not reportedUSN-4043-1Not reported
Ubuntupython-djangodeb18.041:1.11.11-1ubuntu1.4Not reportedUSN-4043-1Not reported
Opensusepython-Djangorpmleap 15.52.0.7-150000.1.27.1Not reportedSUSE-SU-2024:2817-1Not reported
Susepython-Djangorpmhpe helion openstack 81.11.23-3.12.1Not reportedSUSE-SU-2019:2257-1Not reported
Susepython-Djangorpmopenstack cloud 81.11.23-3.12.1Not reportedSUSE-SU-2019:2257-1Not reported
Susepython-Djangorpmopenstack cloud crowbar 81.11.23-3.12.1Not reportedSUSE-SU-2019:2257-1Not reported
Susepython-Django1rpmopenstack cloud 91.11.20-3.6.1Not reportedSUSE-SU-2019:2034-1Not reported
Susepython-Django1rpmopenstack cloud crowbar 91.11.20-3.6.1Not reportedSUSE-SU-2019:2034-1Not reported
Susepython-Django1rpmopenstack cloud 91.11.23-3.9.1Not reportedSUSE-SU-2019:2335-1Not reported
Susepython-Django1rpmopenstack cloud crowbar 91.11.23-3.9.1Not reportedSUSE-SU-2019:2335-1Not reported

[Debian bug #929927]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • Source package: [python-django]

    Details (6)
    • 3:3.2.25-0+deb12u3 · all · bookworm

      Fixed · Fixed: 1:1.11.21-1

      dsa · python-django · debian · bookworm; dsa · python-django · debian · 12

    • 3:3.2.25-0+deb12u3 · all · bookworm

      Fixed · Fixed: 1:1.11.21-1

      dsa · python-django · debian · bookworm; dsa · python-django · debian · 12

    • 3:4.2.21-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 1:1.11.21-1

      dsa · python-django · debian · bookworm; dsa · python-django · debian · 12

    • 3:4.2.21-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 1:1.11.21-1

      dsa · python-django · debian · bookworm; dsa · python-django · debian · 12

    • 3:3.2.25-0+deb12u4 · all · bookworm-security

      Fixed · Fixed: 1:1.11.21-1

      dsa · python-django · debian · bookworm; dsa · python-django · debian · 12

    • 3:3.2.25-0+deb12u4 · all · bookworm-security

      Fixed · Fixed: 1:1.11.21-1

      dsa · python-django · debian · bookworm; dsa · python-django · debian · 12

  • Source package: [python-django]

    Details (6)
    • 3:3.2.25-0+deb12u3 · all · bookworm

      Fixed · Fixed: 1:1.11.21-1

      dsa · python-django · debian · bookworm; dsa · python-django · debian · 12

    • 3:3.2.25-0+deb12u3 · all · bookworm

      Fixed · Fixed: 1:1.11.21-1

      dsa · python-django · debian · bookworm; dsa · python-django · debian · 12

    • 3:4.2.21-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 1:1.11.21-1

      dsa · python-django · debian · bookworm; dsa · python-django · debian · 12

    • 3:4.2.21-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 1:1.11.21-1

      dsa · python-django · debian · bookworm; dsa · python-django · debian · 12

    • 3:3.2.25-0+deb12u4 · all · bookworm-security

      Fixed · Fixed: 1:1.11.21-1

      dsa · python-django · debian · bookworm; dsa · python-django · debian · 12

    • 3:3.2.25-0+deb12u4 · all · bookworm-security

      Fixed · Fixed: 1:1.11.21-1

      dsa · python-django · debian · bookworm; dsa · python-django · debian · 12

[Debian 13 (Trixie)]

  • Source package: [python-django]

    Details (6)
    • 3:4.2.28-0+deb13u2 · all · trixie

      Fixed · Fixed: 1:1.11.21-1

      dsa · python-django · debian · 13

    • 3:4.2.28-0+deb13u2 · all · trixie

      Fixed · Fixed: 1:1.11.21-1

      dsa · python-django · debian · 13

    • 3:5.2.16-1~bpo13+1 · all · trixie-backports

      Fixed · Fixed: 1:1.11.21-1

      dsa · python-django · debian · 13

    • 3:5.2.16-1~bpo13+1 · all · trixie-backports

      Fixed · Fixed: 1:1.11.21-1

      dsa · python-django · debian · 13

    • 3:4.2.28-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 1:1.11.21-1

      dsa · python-django · debian · 13

    • 3:4.2.28-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 1:1.11.21-1

      dsa · python-django · debian · 13

  • Source package: [python-django]

    Details (6)
    • 3:4.2.28-0+deb13u2 · all · trixie

      Fixed · Fixed: 1:1.11.21-1

      dsa · python-django · debian · 13

    • 3:4.2.28-0+deb13u2 · all · trixie

      Fixed · Fixed: 1:1.11.21-1

      dsa · python-django · debian · 13

    • 3:5.2.16-1~bpo13+1 · all · trixie-backports

      Fixed · Fixed: 1:1.11.21-1

      dsa · python-django · debian · 13

    • 3:5.2.16-1~bpo13+1 · all · trixie-backports

      Fixed · Fixed: 1:1.11.21-1

      dsa · python-django · debian · 13

    • 3:4.2.28-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 1:1.11.21-1

      dsa · python-django · debian · 13

    • 3:4.2.28-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 1:1.11.21-1

      dsa · python-django · debian · 13

Observed:

References