Cross-site scripting in Django - CVE-2013-4249
Published: October 4, 2013 / Updated: February 2, 2022
Django
Detailed vulnerability description
Vulnerability allows a remote attacker to perform XSS attacks.
The vulnerability is caused by an input validation error in the AdminURLFieldWidget widget in contrib/admin/widgets.py in Django 1.5.x before 1.5.2 and 1.6.x before 1.6 beta 2. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in victim's browser in security context of vulnerable website.
Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.
How to mitigate CVE-2013-4249
Sources
- http://seclists.org/oss-sec/2013/q3/369
- http://seclists.org/oss-sec/2013/q3/411
- http://secunia.com/advisories/54476
- http://www.securitytracker.com/id/1028915
- https://exchange.xforce.ibmcloud.com/vulnerabilities/86438
- https://github.com/django/django/commit/90363e388c61874add3f3557ee654a996ec75d78
- https://github.com/django/django/commit/cbe6d5568f4f5053ed7228ca3c3d0cce77cf9560
- https://www.djangoproject.com/weblog/2013/aug/13/security-releases-issued