Lucene search

K
githubGitHub Advisory DatabaseGHSA-78VX-GGCH-WGHM
HistoryMay 17, 2022 - 5:12 a.m.

Django Allows Redirect via Data URL

2022-05-1705:12:01
CWE-79
GitHub Advisory Database
github.com
14
django
httpresponseredirect
httpresponsepermanentredirect
cross-site scripting
data url

CVSS2

4.3

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

EPSS

0.004

Percentile

72.2%

The (1) django.http.HttpResponseRedirect and (2) django.http.HttpResponsePermanentRedirect classes in Django before 1.3.2 and 1.4.x before 1.4.1 do not validate the scheme of a redirect target, which might allow remote attackers to conduct cross-site scripting (XSS) attacks via a data: URL.

Affected configurations

Vulners
Node
djangoRange<1.4.1
OR
djangoRange<1.3.2

CVSS2

4.3

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

EPSS

0.004

Percentile

72.2%