Feed
6.1MEDIUM

CVE-2019-12308Django Cross-site Scripting in AdminURLFieldWidget

A medium-severity vulnerability reachable over the network, needing no privileges and user interaction. EPSS estimates a 2.4% chance of exploitation in the next 30 days. A fixed version is named.

Exploited in the wild
Not in KEV
EPSS
2.4%
percentile 85%
Priority
20/100 low
how it is computed
Fix
Named by a source
CVE published 3 Jun 2019

Reference

None of the "Needs attention" rules apply right now.

EPSS 2.4% (+2) · Network attack vector (+10) · No privileges required (+5)

Immediate actions

Who should check

  • django (PyPI) pkg:pypi/django

    • Affected>= 1.11a1, < 1.11.21Fixed in1.11.21OSV (GHSA-7rp2-fm2h-wchj)
    • Affected>= 2.1a1, < 2.1.9Fixed in2.1.9OSV (GHSA-7rp2-fm2h-wchj)
    • Affected>= 2.2a1, < 2.2.2Fixed in2.2.2OSV (GHSA-7rp2-fm2h-wchj)
    • Affected>= 2.1, < 2.1.9Fixed in2.1.9OSV (PYSEC-2019-79)
    • Affected>= 1.11, < 1.11.21Fixed in1.11.21OSV (PYSEC-2019-79)
    • Affected>= 2.2, < 2.2.2Fixed in2.2.2OSV (PYSEC-2019-79)

Confirmed facts

CVSS
6.1 MEDIUM (version 3.0)
Score from
GitHub Advisory Database (GHSA-7rp2-fm2h-wchj)
Attack vector
network
Attack complexity
low
Privileges required
none
User interaction
required
Weakness
CWE-79

Unknowns

  • We show one CVSS score. Other sources may score this CVE differently.

Advisory text

Quoted from the source advisory (untrusted)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.

Update history

No events recorded. Our history starts on 1 Jan 2025.

References

Sources

This page is our own presentation: records are shortened, normalised and merged. Licences

Last checked: kev 38 min ago · osv 38 min ago · nvd 7 min ago · epss 37 min ago · JSON · ask via MCP: explain_vulnerability

Also known as GHSA-7rp2-fm2h-wchj, PYSEC-2019-79