{"id":"GHSA-4894-5vqc-6r2r","summary":"Django cross-site scripting (XSS) vulnerability in the AdminURLFieldWidget widget","details":"Cross-site scripting (XSS) vulnerability in the AdminURLFieldWidget widget in contrib/admin/widgets.py in Django 1.5.x before 1.5.2 and 1.6.x before 1.6 beta 2 allows remote attackers to inject arbitrary web script or HTML via a URLField.","aliases":["CVE-2013-4249","PYSEC-2013-19"],"modified":"2025-02-19T05:39:54.141686Z","published":"2022-05-17T01:33:07Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2023-08-17T23:51:22Z","nvd_published_at":"2013-10-04T17:55:00Z","cwe_ids":["CWE-79"],"severity":"MODERATE"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2013-4249"},{"type":"WEB","url":"https://github.com/django/django/commit/90363e388c61874add3f3557ee654a996ec75d78"},{"type":"WEB","url":"https://github.com/django/django/commit/cbe6d5568f4f5053ed7228ca3c3d0cce77cf9560"},{"type":"WEB","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/86438"},{"type":"PACKAGE","url":"https://github.com/django/django"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2013-19.yaml"},{"type":"WEB","url":"https://web.archive.org/web/20201208180405/http://www.securitytracker.com/id/1028915"},{"type":"WEB","url":"https://www.djangoproject.com/weblog/2013/aug/13/security-releases-issued"},{"type":"WEB","url":"http://seclists.org/oss-sec/2013/q3/369"},{"type":"WEB","url":"http://seclists.org/oss-sec/2013/q3/411"}],"affected":[{"package":{"name":"django","ecosystem":"PyPI","purl":"pkg:pypi/django"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.5"},{"fixed":"1.5.2"}]}],"versions":["1.5","1.5.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-4894-5vqc-6r2r/GHSA-4894-5vqc-6r2r.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"}]}