CVE-2019-12308

Aliases:GHSA-7rp2-fm2h-wchjPYSEC-2019-79
Modified
Published: 03 Jun 2019, 16:24
Last modified:04 Aug 2024, 23:17

Vulnerability Summary

Overall Risk (default)
medium
25/100
CVSS Score
6.1 MEDIUM
v3.0 (nvd)
EPSS Score
2.8% LOW
3% probability +1.32%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

03 Jun 2019, 16:24
Published
Vulnerability first disclosed
04 Aug 2024, 23:17
Last Modified
Vulnerability information updated

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 Metrics

  • v4.0MEDIUMScore: 5.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
  • v3.0MEDIUMScore: 6.1CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • v2.0MEDIUMScore: 4.3AV:N/AC:M/Au:N/C:N/I:P/A:N

EPSS Trends

Current EPSS score: 2.80% Percentile: 86%

Techniques & Countermeasures

  • CWE-79Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

    The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Affected Systems

  • djangoprojectdjango

    ≥ 1.11, < 1.11.21 | ≥ 2.1, < 2.1.9 | ≥ 2.2, < 2.2.2

  • PyPIdjango

    ≥ 1.11a1, < 1.11.21 | ≥ 2.1a1, < 2.1.9 | ≥ 2.2a1, < 2.2.2 | ≥ 2.2, < 2.2.2

References (33)