Name | CVE-2019-12308 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-1814-1, DSA-4476-1 |
Debian Bugs | 929927 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
python-django (PTS) | bullseye (security), bullseye | 2:2.2.28-1~deb11u2 | fixed |
bookworm, bookworm (security) | 3:3.2.19-1+deb12u1 | fixed | |
sid, trixie | 3:4.2.16-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
python-django | source | jessie | 1.7.11-1+deb8u5 | DLA-1814-1 | ||
python-django | source | stretch | 1:1.10.7-2+deb9u5 | DSA-4476-1 | ||
python-django | source | (unstable) | 1:1.11.21-1 | 929927 |
https://github.com/django/django/commit/deeba6d92006999fee9adfbd8be79bf0a59e8008 (master)
https://github.com/django/django/commit/c238701859a52d584f349cce15d56c8e8137c52b (1.11.21)