Lucene search

K
osvGoogleOSV:GHSA-GV98-G628-M9X5
HistoryMay 17, 2022 - 3:20 a.m.

Django Cross-site Scripting Vulnerability

2022-05-1703:20:49
Google
osv.dev
17
django
cross-site scripting
vulnerability
http function
remote attackers
crafted url

EPSS

0.007

Percentile

81.0%

The django.util.http.is_safe_url function in Django before 1.4.18, 1.6.x before 1.6.10, and 1.7.x before 1.7.3 does not properly handle leading whitespaces, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a crafted URL, related to redirect URLs, as demonstrated by a \njavascript: URL.

References