Cross-site Scripting (XSS) Affecting py3-django package, versions <1.11.5-r0
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-ALPINE320-PY3DJANGO-7013700
- published 23 May 2024
- disclosed 7 Sep 2017
Introduced: 7 Sep 2017
CVE-2017-12794 Open this link in a new tabHow to fix?
Upgrade Alpine:3.20
py3-django
to version 1.11.5-r0 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream py3-django
package and not the py3-django
package as distributed by Alpine
.
See How to fix?
for Alpine:3.20
relevant fixed versions and status.
In Django 1.10.x before 1.10.8 and 1.11.x before 1.11.5, HTML autoescaping was disabled in a portion of the template for the technical 500 debug page. Given the right circumstances, this allowed a cross-site scripting attack. This vulnerability shouldn't affect most production sites since you shouldn't run with "DEBUG = True" (which makes this page accessible) in your production settings.
References
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-12794
- https://security-tracker.debian.org/tracker/CVE-2017-12794
- https://www.djangoproject.com/weblog/2017/sep/05/security-releases/
- http://www.securityfocus.com/bid/100643
- http://www.securitytracker.com/id/1039264
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2017-12794
- https://usn.ubuntu.com/3559-1/
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2017/CVE-2017-12794.yaml