{"id":"GHSA-54qj-48vx-cr9f","summary":"Django Cross-site scripting (XSS) vulnerability","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.","aliases":["CVE-2008-2302","PYSEC-2008-1"],"modified":"2024-09-16T21:53:19Z","published":"2022-05-01T23:48:43Z","database_specific":{"cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2023-09-22T23:12:26Z","nvd_published_at":"2008-05-23T15:32:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2008-2302"},{"type":"WEB","url":"https://github.com/django/django/commit/50ce7fb57d79e8940ccf6e2781f2f01df029b5c5"},{"type":"WEB","url":"https://github.com/django/django/commit/6e657e2c404a96e744748209e896d8a69c15fdf2"},{"type":"WEB","url":"https://github.com/django/django/commit/7791e5c050cebf86d868c5dab7092185b125fdc9"},{"type":"WEB","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/42396"},{"type":"PACKAGE","url":"https://github.com/django/django"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2008-1.yaml"},{"type":"WEB","url":"https://web.archive.org/web/20080725022008/http://secunia.com/advisories/30291"},{"type":"WEB","url":"https://web.archive.org/web/20081012011038/http://secunia.com/advisories/30250"},{"type":"WEB","url":"https://web.archive.org/web/20170222015451/http://securitytracker.com/id?1020028"},{"type":"WEB","url":"https://web.archive.org/web/20200228153339/http://www.securityfocus.com/bid/29209"},{"type":"WEB","url":"http://www.djangoproject.com/weblog/2008/may/14/security"}],"affected":[{"package":{"name":"django","ecosystem":"PyPI","purl":"pkg:pypi/django"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.91"},{"fixed":"0.91.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-54qj-48vx-cr9f/GHSA-54qj-48vx-cr9f.json"}},{"package":{"name":"django","ecosystem":"PyPI","purl":"pkg:pypi/django"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.95"},{"fixed":"0.95.3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-54qj-48vx-cr9f/GHSA-54qj-48vx-cr9f.json"}},{"package":{"name":"django","ecosystem":"PyPI","purl":"pkg:pypi/django"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.96"},{"fixed":"0.96.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-54qj-48vx-cr9f/GHSA-54qj-48vx-cr9f.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"}]}