The utils.html.strip_tags function in Django 1.6.x before 1.6.11 1.7.x before 1.7.7 and 1.8.x before 1.8c1 when using certain versions of Python allows remote attackers to cause a denial of service (infinite loop) by increasing the length of the input string.