漏洞描述
Django 1.10.x before 1.10.8 and 1.11.x before 1.11.5 has HTML autoescaping disabled in a portion of the template for the technical 500 debug page. Given the right circumstances, this allows a cross-site scripting attack. This vulnerability shouldn't affect most production sites since run with "DEBUG = True" is not on by default (which is what makes the page visible).
影响产品
修复建议
建议关注厂商安全公告,及时升级至已修复版本,并结合实际资产暴露情况采取缓解措施。
参考链接
twitter.comhttps://twitter.com/sec715/status/1406779605055270914↗nvd.nist.govhttps://nvd.nist.gov/vuln/detail/CVE-2017-12794↗www.djangoproject.comhttps://www.djangoproject.com/weblog/2017/sep/05/security-releases/↗web.archive.orghttp://web.archive.org/web/20211207172022/https://securitytracker.com/id/1039264↗www.securitytracker.comhttp://www.securitytracker.com/id/1039264↗