{"id":"CVE-2013-4249","aliases":["DEBIAN-CVE-2013-4249","EUVD-2013-0007","GHSA-4894-5vqc-6r2r","MGASA-2013-0256","PYSEC-2013-19"],"status":"published","title":"Django cross-site scripting (XSS) vulnerability in the AdminURLFieldWidget widget","description":"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.","severity":{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.02893,"percentile":0.87001,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2013-08-22T18:13:04Z","modified":"2026-09-01T20:03:17Z","fixes":[{"ecosystem":"PyPI","package":"django","fixed_in":["1.5.2"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"python-django","fixed_in":["1.5.2-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"python-django","fixed_in":["1.5.2-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"python-django","fixed_in":["1.5.2-1"],"sources":["osv"]},{"ecosystem":"Mageia:2","package":"python-django","fixed_in":["1.3.7-1.1.mga2"],"sources":["osv"]},{"ecosystem":"Mageia:3","package":"python-django","fixed_in":["1.4.6-1.mga3"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.5"},{"fixed":"1.5.2"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"python-django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.2-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"python-django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.2-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"python-django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.2-1"}]}]},{"source":"osv","ecosystem":"PyPI","package":"django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.5"},{"fixed":"1.5.2"}]}],"versions":["1.5","1.5.1"]},{"source":"osv","ecosystem":"Mageia:2","package":"python-django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.7-1.1.mga2"}]}]},{"source":"osv","ecosystem":"Mageia:3","package":"python-django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.6-1.mga3"}]}]},{"source":"osv","ecosystem":"PyPI","package":"django","ranges":[{"type":"GIT","events":[{"introduced":"0"},{"fixed":"90363e388c61874add3f3557ee654a996ec75d78"},{"fixed":"cbe6d5568f4f5053ed7228ca3c3d0cce77cf9560"}]},{"type":"ECOSYSTEM","events":[{"introduced":"1.5"},{"fixed":"1.5.2"}]}],"versions":["1.5","1.5.1","1.5c2","1.5c1","1.5b2","1.5b1","1.5a1","1.4","1.3","1.2.1","1.2","1.1","1.0"]}],"products":[{"vendor":"djangoproject","product":"django"}],"references":[{"url":"http://www.securitytracker.com/id/1028915","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","web"]},{"url":"http://secunia.com/advisories/54476","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://seclists.org/oss-sec/2013/q3/369","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://github.com/django/django/commit/90363e388c61874add3f3557ee654a996ec75d78","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Patch","evidence","fix","web"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/86438","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"https://www.djangoproject.com/weblog/2013/aug/13/security-releases-issued","tags":["x_refsource_CONFIRM","x_transferred","article","web"]},{"url":"https://github.com/django/django/commit/cbe6d5568f4f5053ed7228ca3c3d0cce77cf9560","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Patch","evidence","fix","web"]},{"url":"http://seclists.org/oss-sec/2013/q3/411","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-4249","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2013-19.yaml","tags":["web"]},{"url":"https://web.archive.org/web/20201208180405/http://www.securitytracker.com/id/1028915","tags":["web"]},{"url":"https://github.com/advisories/GHSA-4894-5vqc-6r2r","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2013-4249","tags":["advisory"]},{"url":"https://github.com/django/django","tags":["package"]},{"url":"https://advisories.mageia.org/MGASA-2013-0256.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=10996","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2013-4249","description":"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.","status":"published","published":"2013-10-04T17:00:00Z","modified":"2024-08-06T16:38:01.847Z","updated_at":"2026-11-02T14:34:57.869657Z"}],"euvd":[{"id":"EUVD-2013-0007","description":"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.","status":"published","published":"2013-10-04T17:00:00Z","modified":"2024-08-06T16:38:01Z","updated_at":"2026-11-03T01:56:33.227006Z"}],"ghsa":[{"id":"GHSA-4894-5vqc-6r2r","title":"Django cross-site scripting (XSS) vulnerability in the AdminURLFieldWidget widget","description":"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.","status":"published","published":"2022-05-17T01:33:07Z","modified":"2024-09-18T19:49:06Z","cvss":[{"version":"4.0","score":5.3,"vector":"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","level":"medium"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:38:04.690827Z"}],"nvd":[{"id":"CVE-2013-4249","description":"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.","status":"published","published":"2013-10-04T17:55:09.807Z","modified":"2026-06-16T23:56:53.577Z","cvss":[{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:02:38.715467Z"}],"osv":[{"id":"GHSA-4894-5vqc-6r2r","title":"Django cross-site scripting (XSS) vulnerability in the AdminURLFieldWidget widget","description":"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.","status":"published","published":"2022-05-17T01:33:07Z","modified":"2025-02-19T05:39:54.141686Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"},{"version":"4.0","score":5.3,"vector":"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","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:36.782754Z"},{"id":"CVE-2013-4249","description":"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.","status":"published","published":"2013-10-04T17:55:09Z","modified":"2026-04-16T06:23:57.650566191Z","updated_at":"2026-11-02T15:43:59.09154Z"},{"id":"DEBIAN-CVE-2013-4249","description":"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.","status":"published","published":"2013-10-04T17:55:09.807Z","modified":"2026-09-01T20:03:17.636636648Z","updated_at":"2026-11-02T15:45:25.514579Z"},{"id":"MGASA-2013-0256","title":"Updated python-django packages fix CVE-2013-4249","description":"Updated python-django package fixes security vulnerability:\n\nThe is_safe_url() function has been modified to properly recognize and reject\nURLs which specify a scheme other than HTTP or HTTPS, to prevent cross-site\nscripting attacks through redirecting to other schemes, such as javascript.\n(CVE-2013-4249).\n","status":"published","published":"2013-08-22T18:13:04Z","modified":"2026-04-16T06:24:26.639726078Z","updated_at":"2026-11-02T15:49:39.121227Z"},{"id":"PYSEC-2013-19","description":"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.","status":"published","published":"2013-10-04T17:55:00Z","modified":"2026-06-10T17:00:48.098376667Z","updated_at":"2026-11-02T15:52:51.645172Z"}]}}
