Security mailing lists by PureSourceCode

CVE-2019-12308

MEDIUM 6.1CVSS 3.0

Django Cross-site Scripting in AdminURLFieldWidget

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.

Published
3 Jun 2019
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-79
Also known as
GHSA-7rp2-fm2h-wchjPYSEC-2019-79
Sources
NVDJSONOSV GHSA-7rp2-fm2h-wchjJSONOSV PYSEC-2019-79JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.0 MEDIUM 6.1 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.0 MEDIUM 6.1 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD djangoproject django
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
>= 1.11, < 1.11.21 1.11.21
NVD djangoproject django
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
>= 2.1, < 2.1.9 2.1.9
NVD djangoproject django
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
>= 2.2, < 2.2.2 2.2.2
OSV PyPI django >= 1.11a1, < 1.11.21 1.11.21
OSV PyPI django >= 2.1a1, < 2.1.9 2.1.9
OSV PyPI django >= 2.2a1, < 2.2.2 2.2.2
OSV PyPI django >= 2.1, < 2.1.9; >= 1.11, < 1.11.21; >= 2.2, < 2.2.2 2.1.9, 1.11.21, 2.2.2

References

History

  • 25 Nov 2026 20:22 UTC · NVD: first stored (published 3 Jun 2019)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 3 Jun 2019)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 10 Jun 2019)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.