Description
Cross-site scripting (XSS) vulnerability in Django 1.1.x before 1.1.4 and 1.2.x before 1.2.5 might allow remote attackers to inject arbitrary web script or HTML via a filename associated with a file upload.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | python-django | 1.2.5-1 | — |
| Debian 13 | python-django | 1.2.5-1 | — |
| Debian 12 | python-django | 1.2.5-1 | — |
| Debian 6.0 | python-django | 1.2.3-3+squeeze1 | DSA-2163-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | django | >= 1.1, < 1.1.4 | 1.1.4 | GHSA-8m3r-rv5g-fcpq |
| PyPI | django | >= 1.2, < 1.2.5 | 1.2.5 | GHSA-8m3r-rv5g-fcpq |
| PyPI | django | >= 1.1, < 1.1.4 · >= 1.2, < 1.2.5 | 1.1.4, 1.2.5 | PYSEC-2011-11 |
Advisories 1
- DSA-2163-1 python-django - multiple Debian Security (DSA / DLA) · Mar 9, 2026
References
- 43297 third-party-advisory
- 43382 third-party-advisory
- ADV-2011-0439 vdb-entry
- ADV-2011-0429 vdb-entry
- [oss-security] 20110209 Django multiple flaws (CVEs inside) mailing-list
- 43230 third-party-advisory
- 43426 third-party-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=676359
- ADV-2011-0372 vdb-entry
- FEDORA-2011-1261 vendor-advisory
- ADV-2011-0441 vdb-entry
- USN-1066-1 vendor-advisory
- 46296 vdb-entry
- MDVSA-2011:031 vendor-advisory
- DSA-2163 vendor-advisory
- http://www.djangoproject.com/weblog/2011/feb/08/security/
- ADV-2011-0388 vdb-entry
- FEDORA-2011-1235 vendor-advisory