Django cross-site scripting (XSS) vulnerability in the AdminURLFieldWidget widget
Date: 2022-05
Affected: pip/django
Attack vector: xss
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2013-4249
CWE: CWE-79
CVSS: 6.1 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N)

Cross-site scripting (XSS) vulnerability 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 allows remote attackers to inject arbitrary web script or HTML via a URLField.


Mitigations:

Architectural layers (MAESTRO):