{"cve":"CVE-2019-12308","nvd":{"published":"2019-06-03T17:29:01.213","modified":"2026-06-17T02:14:23.963","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79"],"references":["http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00006.html","http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00025.html","http://www.openwall.com/lists/oss-security/2019/06/03/2","http://www.securityfocus.com/bid/108559","https://docs.djangoproject.com/en/dev/releases/1.11.21/"],"products":["djangoproject:django"],"source":"nvd","synced_at":"2026-10-19T20:57:00.690689396+00:00"},"epss":{"cve":"CVE-2019-12308","score":0.02402,"percentile":0.84043,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-7rp2-fm2h-wchj","url":"https://osv.dev/vulnerability/GHSA-7rp2-fm2h-wchj","summary":"Django Cross-site Scripting in AdminURLFieldWidget","modified":"2024-09-20T16:09:01.600161Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=1.11a1 <1.11.21"],"fixed":["1.11.21"]},{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=2.1a1 <2.1.9"],"fixed":["2.1.9"]},{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=2.2a1 <2.2.2"],"fixed":["2.2.2"]}]},{"id":"PYSEC-2019-79","url":"https://osv.dev/vulnerability/PYSEC-2019-79","summary":"","modified":"2023-11-08T04:01:03.504446Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=2.1 <2.1.9",">=1.11 <1.11.21",">=2.2 <2.2.2"],"fixed":["2.1.9","1.11.21","2.2.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}