Live threats

All CVEs / Djangoproject

CVE-2019-14233Djangoproject Django

High 7.5 No auth needed

Priority
60
CVSS 3.0
7.5
EPSS
3.2%
probability of exploitation in 30 days · percentile 89
Auth required
No
Published
Aug 2, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

An issue was discovered in Django 1.11.x before 1.11.23, 2.1.x before 2.1.11, and 2.2.x before 2.2.4. Due to the behaviour 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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Django.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI django ≥ 1.11a1 < 1.11.23 1.11.23 pip install "django>=1.11.23"
PyPI django ≥ 2.1a1 < 2.1.11 2.1.11 pip install "django>=2.1.11"
PyPI django ≥ 2.2a1 < 2.2.4 2.2.4 pip install "django>=2.2.4"
PyPI django ≥ 2.1 < 2.1.11 2.1.11 pip install "django>=2.1.11"
PyPI django ≥ 2.2 < 2.2.4 2.2.4 pip install "django>=2.2.4"
PyPI django ≥ 1.11 < 1.11.23 1.11.23 pip install "django>=1.11.23"

Per OSV / GitHub Advisories (GHSA-h5jv-4p7w-64jg, PYSEC-2019-12). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
djangoprojectdjango≥ 1.11 < 1.11.23
djangoprojectdjango≥ 2.1 < 2.1.11
djangoprojectdjango≥ 2.2 < 2.2.4
opensuseleap15.1

Official sources

References

Links published by the sources. Open them with care.