PyPI: django

CVE-2019-14233

Safety vulnerability ID: SFTY-20190802-88780

Safety legacy ID: pyup.io-39593

Django 1.11.23, 2.1.11, and 2.2.4 include a fix for CVE-2019-14233: Due to the behavior of the underlying HTMLParser, django.utils.html.strip_tags would be extremely slow to evaluate certain inputs containing large sequences of nested incomplete HTML entities.

Created at: Jul 5, 2026Updated at: Jul 5, 2026

Overview

Django Denial-of-service in strip_tags()

Advisory

Django 1.11.23, 2.1.11, and 2.2.4 include a fix for CVE-2019-14233: Due to the behavior of the underlying HTMLParser, django.utils.html.strip_tags would be extremely slow to evaluate certain inputs containing large sequences of nested incomplete HTML entities.

Affected Package

Affecting django package, versions>=1.11a1,<1.11.23>=2.0a1,<2.1.11>=2.2a1,<2.2.4

Also affects

---

How to Fix

Upgradedjangoto1.11.232.1.112.2.4or higher.

Mitigation and Workarounds

---

Vulnerable Functions

Functions linked to known vulnerabilities.

Vulnerable function data is available for Enterprise customers

Book a call with us to see Safety in action.

Safety

Verified by Safety

Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.

Learn more