Live threats

All CVEs / Djangoproject

CVE-2013-4249Djangoproject Django

Medium 4.3 No auth needed

Priority
41
CVSS 2.0
4.3
EPSS
2.9%
probability of exploitation in 30 days · percentile 88
Auth required
No
Published
Oct 4, 2013
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
AV:N/AC:M/Au:N/C:N/I:P/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Django.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI django ≥ 1.5 < 1.5.2 1.5.2 pip install "django>=1.5.2"
PyPI django ≥ 1.5 < 1.5.2 1.5.2 pip install "django>=1.5.2"

Per OSV / GitHub Advisories (GHSA-4894-5vqc-6r2r, PYSEC-2013-19). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
djangoprojectdjango1.5
djangoprojectdjango1.5
djangoprojectdjango1.5
djangoprojectdjango1.5.1
djangoprojectdjango1.6

Official sources

References

Links published by the sources. Open them with care.