MediumGHSA-54qj-48vx-cr9fCVE-2008-2302PYSEC-2008-1
Django Cross-site scripting (XSS) vulnerability
Published 1 May 2022 · Updated 16 Sept 2024
Is your project on an affected django?
Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
djangoPyPI
- Affected
- >=0.91 <0.91.2
- Fixed in
- 0.91.2
Update to the fixed version for your release line, for example:
pip install 'django>=0.91.2'djangoPyPI
- Affected
- >=0.95 <0.95.3
- Fixed in
- 0.95.3
Update to the fixed version for your release line, for example:
pip install 'django>=0.95.3'djangoPyPI
- Affected
- >=0.96 <0.96.2
- Fixed in
- 0.96.2
Update to the fixed version for your release line, for example:
pip install 'django>=0.96.2'Details
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.
Is GHSA-54qj-48vx-cr9f in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected django, and gives you the command that fixes it.
More advisories for django
- HighCVE-2026-15307Django GeoDjango spatial lookups allow file writes and outbound requests through GDAL raster parsing · 4 Aug 2026
- MediumCVE-2026-15830Django GeoDjango vulnerable to denial of service through deeply nested geometry collections · 4 Aug 2026
- MediumCVE-2026-53878Django: DomainNameValidator permits newline characters that may enable HTTP header injection · 7 Jul 2026
- MediumCVE-2026-53877 Django: GDALRaster may over-read heap memory when constructed from bytes · 7 Jul 2026
- LowCVE-2026-48588Django: cache middleware may expose private responses when unrelated request cookies are present · 7 Jul 2026
- LowCVE-2026-8404Django: UpdateCacheMiddleware may disclose cached responses due to case-sensitive Cache-Control handling · 3 Jun 2026
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2008-2302
- Linkgithub.com/django/django/commit/50ce7fb57d79e8940ccf6e2781f2f01df029b5c5
- Linkgithub.com/django/django/commit/6e657e2c404a96e744748209e896d8a69c15fdf2
- Linkgithub.com/django/django/commit/7791e5c050cebf86d868c5dab7092185b125fdc9
- Linkexchange.xforce.ibmcloud.com/vulnerabilities/42396
- Packagegithub.com/django/django
- Linkgithub.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2008-1.yaml
- Linkweb.archive.org/web/20080725022008/http://secunia.com/advisories/30291
- Linkweb.archive.org/web/20081012011038/http://secunia.com/advisories/30250
- Linkweb.archive.org/web/20170222015451/http://securitytracker.com/id?1020028
- Linkweb.archive.org/web/20200228153339/http://www.securityfocus.com/bid/29209
- Linkwww.djangoproject.com/weblog/2008/may/14/security
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.