CVE-2013-4249
Django cross-site scripting (XSS) vulnerability in the AdminURLFieldWidget widget
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.
Exploit likelihood
What each source reports
NVD Score used
4.3
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.
- Record
CVE-2013-4249- CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:P/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2013-4249- Updated
- 2026-11-02
EUVDEUVD-2013-0007 No score
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.
- Record
EUVD-2013-0007- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-4894-5vqc-6r2r
5.3
Django cross-site scripting (XSS) vulnerability in the AdminURLFieldWidget widget
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.
- Record
GHSA-4894-5vqc-6r2r- CVSS 4.0
- 5.3 Medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N - CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSVGHSA-4894-5vqc-6r2r
5.3
Django cross-site scripting (XSS) vulnerability in the AdminURLFieldWidget widget
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.
- Record
GHSA-4894-5vqc-6r2r- CVSS 4.0
- 5.3 Medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N - CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2013-4249- Updated
- 2026-11-02
OSVDEBIAN-CVE-2013-4249 No score
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.
- Record
DEBIAN-CVE-2013-4249- Updated
- 2026-11-02
OSVMGASA-2013-0256 No score
Updated python-django packages fix CVE-2013-4249
Updated python-django package fixes security vulnerability:
The is_safe_url() function has been modified to properly recognize and reject URLs which specify a scheme other than HTTP or HTTPS, to prevent cross-site scripting attacks through redirecting to other schemes, such as javascript. (CVE-2013-4249).
- Record
MGASA-2013-0256- Updated
- 2026-11-02
OSVPYSEC-2013-19 No score
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.
- Record
PYSEC-2013-19- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
djangoPyPI |
1.5 up to 1.5.2 | 1.5.2 |
python-djangoDebian:12 |
before 1.5.2-1 | 1.5.2-1 |
python-djangoDebian:13 |
before 1.5.2-1 | 1.5.2-1 |
python-djangoDebian:14 |
before 1.5.2-1 | 1.5.2-1 |
djangoPyPI |
1.5 up to 1.5.2, plus listed versions 1.5.1 |
1.5.2 |
python-djangoMageia:2 |
before 1.3.7-1.1.mga2 | 1.3.7-1.1.mga2 |
python-djangoMageia:3 |
before 1.4.6-1.mga3 | 1.4.6-1.mga3 |
djangoPyPI |
1.5 up to 1.5.2, plus listed versions 1.5.11.5c21.5c11.5b21.5b1 Show 7 moreShow less1.5a11.41.31.2.11.21.11.0 |
1.5.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2013-4249 is a medium vulnerability (CVSS 4.3) in Djangoproject Django, published August 22, 2013. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.89%, the 87th percentile. Fixed in django 1.5.2.
References
securitytracker.com/id/1028915
secunia.com/advisories/54476
seclists.org/oss-sec/2013/q3/369
github.com/django/django/commit/90363e388c61874add3f3557ee654a996ec75d78
exchange.xforce.ibmcloud.com/vulnerabilities/86438
djangoproject.com/weblog/2013/aug/13/security-releases-issued
Show 10 moreShow less
github.com/django/django/commit/cbe6d5568f4f5053ed7228ca3c3d0cce77cf9560
seclists.org/oss-sec/2013/q3/411
nvd.nist.gov/vuln/detail/CVE-2013-4249
github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2013-19.yaml
web.archive.org/web/20201208180405/http://www.securitytracker.com/id/1028915
github.com/advisories/GHSA-4894-5vqc-6r2r
security-tracker.debian.org/tracker/CVE-2013-4249
github.com/django/django
advisories.mageia.org/MGASA-2013-0256.html
bugs.mageia.org/show_bug.cgi?id=10996