{"id":"CVE-2008-2302","aliases":["GHSA-54qj-48vx-cr9f","PYSEC-2008-1"],"kind":"cve","tier":"cold","status":"published","title":"Django Cross-site scripting (XSS) vulnerability","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.","ai_summary":null,"severity":"medium","cvss":{"score":4.3,"version":"2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","source":"NVD"},"scores":[{"score":4.3,"version":"2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","source":"nvd"}],"cwe":["CWE-79"],"remote":true,"remote_unauth":true,"epss":{"score":0.01312,"percentile":0.71515,"date":"2026-12-01"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[{"ecosystem":"PyPI","name":"django","affected":">= 0.91, < 0.91.2","fixed":["0.91.2","0.95.3","0.96.2","1.1"],"source":"osv"}],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"Upgrade django to one of 0.91.2, 0.95.3, 0.96.2, 1.1 (or later in the same release line).","technologies":[],"references":[{"url":"http://secunia.com/advisories/30291","kind":"vendor"},{"url":"http://www.vupen.com/english/advisories/2008/1618","kind":"vendor"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-2302","kind":"vendor"},{"url":"https://github.com/advisories/GHSA-54qj-48vx-cr9f","kind":"vendor"},{"url":"http://secunia.com/advisories/30250","kind":"patch"},{"url":"http://www.securityfocus.com/bid/29209","kind":"patch"},{"url":"http://www.djangoproject.com/weblog/2008/may/14/security/","kind":"patch"},{"url":"https://github.com/django/django/commit/50ce7fb57d79e8940ccf6e2781f2f01df029b5c5","kind":"patch"},{"url":"https://github.com/django/django/commit/6e657e2c404a96e744748209e896d8a69c15fdf2","kind":"patch"},{"url":"https://github.com/django/django/commit/7791e5c050cebf86d868c5dab7092185b125fdc9","kind":"patch"},{"url":"http://securitytracker.com/id?1020028","kind":"other"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/42396","kind":"other"},{"url":"https://github.com/django/django","kind":"other"},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2008-1.yaml","kind":"other"},{"url":"https://web.archive.org/web/20080725022008/http://secunia.com/advisories/30291","kind":"other"},{"url":"https://web.archive.org/web/20081012011038/http://secunia.com/advisories/30250","kind":"other"},{"url":"https://web.archive.org/web/20170222015451/http://securitytracker.com/id?1020028","kind":"other"},{"url":"https://web.archive.org/web/20200228153339/http://www.securityfocus.com/bid/29209","kind":"other"},{"url":"http://www.djangoproject.com/weblog/2008/may/14/security","kind":"other"}],"workarounds":null,"vendors":["django_project"],"products":["django"],"cpes":["cpe:2.3:a:django_project:django:0.91:*:*:*:*:*:*:*","cpe:2.3:a:django_project:django:0.95:*:*:*:*:*:*:*","cpe:2.3:a:django_project:django:0.96:*:*:*:*:*:*:*"],"published_at":"2008-05-23T15:00:00.000Z","modified_at":"2026-06-16T22:53:30.183Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2008-2302"},{"source":"OSV","text":"CC-BY 4.0","url":"https://osv.dev/vulnerability/GHSA-54qj-48vx-cr9f","license_url":"https://creativecommons.org/licenses/by/4.0/"},{"source":"OSV","text":"CC-BY 4.0","url":"https://osv.dev/vulnerability/PYSEC-2008-1","license_url":"https://creativecommons.org/licenses/by/4.0/"}],"links":{"html":"https://flawdb.com/CVE-2008-2302","markdown":"https://flawdb.com/CVE-2008-2302.md","json":"https://flawdb.com/api/v1/entries/CVE-2008-2302"}}