cve.bz

CVE-2019-12308

6.1 mediumEPSS 2.4%

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.

Severity

CVSS 3.0

6.1 medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
2.4% chance of exploitation in the next 30 days; higher than 84% of CVEs (scores of 2026-10-31)
CWE
CWE-79
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-7rp2-fm2h-wchjPyPIdjango>=1.11a1 <1.11.211.11.21
GHSA-7rp2-fm2h-wchjPyPIdjango>=2.1a1 <2.1.92.1.9
GHSA-7rp2-fm2h-wchjPyPIdjango>=2.2a1 <2.2.22.2.2
PYSEC-2019-79PyPIdjango>=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

Check your stackJSON