Description
Cross-site scripting (XSS) vulnerability in the login form in the administration application in Django 0.91 before 0.91.2, 0.95 before 0.95.3, and 0.96 before 0.96.2 allows remote attackers to inject arbitrary web script or HTML via the URI of a certain previous request.
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 | 0.96.2-1 | — |
| Debian 13 | python-django | 0.96.2-1 | — |
| Debian 12 | python-django | 0.96.2-1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | django | >= 0.91, < 0.91.2 | 0.91.2 | GHSA-54qj-48vx-cr9f |
| PyPI | django | >= 0.95, < 0.95.3 | 0.95.3 | GHSA-54qj-48vx-cr9f |
| PyPI | django | >= 0.96, < 0.96.2 | 0.96.2 | GHSA-54qj-48vx-cr9f |
| PyPI | django | < 1.1 | 1.1 | PYSEC-2008-1 |
References
- 30250 third-party-advisory
- 1020028 vdb-entry
- django-loginform-xss(42396) vdb-entry
- 30291 third-party-advisory
- 29209 vdb-entry
- ADV-2008-1618 vdb-entry
- http://www.djangoproject.com/weblog/2008/may/14/security/