CVE-2019-14233Djangoproject Django
High 7.5 No auth needed
Follow: this CVE · Djangoproject · Djangoproject Django We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Django.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| djangoproject | django | ≥ 1.11 < 1.11.23 |
| djangoproject | django | ≥ 2.1 < 2.1.11 |
| djangoproject | django | ≥ 2.2 < 2.2.4 |
| opensuse | leap | 15.1 |
Official sources
References
Links published by the sources. Open them with care.
- lists.opensuse.org Third Party Advisory
- lists.opensuse.org
- docs.djangoproject.com Patch Vendor Advisory
- groups.google.com
- lists.fedoraproject.org
- seclists.org
- security.gentoo.org
- security.netapp.com
- www.debian.org
- www.djangoproject.com Vendor Advisory