Skip to main content
No exploitation reportedFix available

CVE-2023-43665

No exploitation reported by the sources we read.

  • Published2023-11-03
  • Fixed in4.2.6 · 4.1.12 · 3.2.22
  • WeaknessCWE-1284

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

In Django 3.2 before 3.2.22, 4.1 before 4.1.12, and 4.2 before 4.2.6, the django.utils.text.Truncator chars() and words() methods (when used with html=True) are subject to a potential DoS (denial of service) attack via certain inputs with very long, potentially malformed HTML text. The chars() and words() methods are used to implement the truncatechars_html and truncatewords_html template filters, which are thus also vulnerable. NOTE: this issue exists because of an incomplete fix for CVE-2019-14232.

Timeline

dates in UTC
  1. 2023-11-0305:15CVE publishedNVD

Observed activity

isMalicious corpus · updated 2026-10-23 21:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2023-43665?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2023-43665?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

NVD · OSV
Django
BranchAffectedFixed in
4.2≥ 4.2, < 4.2.64.2.6
4.2≥ 4.2.0, < 4.2.64.2.6
4.2≥ 4.2a1, < 4.2.64.2.6
4.1≥ 4.1, < 4.1.124.1.12
4.1≥ 4.1.0, < 4.1.124.1.12
4.1≥ 4.1a1, < 4.1.124.1.12
3.2≥ 3.2, < 3.2.223.2.22
3.2≥ 3.2.0, < 3.2.223.2.22
3.2≥ 3.2a1, < 3.2.223.2.22
Fedoraproject fedora
BranchAffectedFixed in
39.x= 39no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Fix

  1. Update Django to 4.2.6 · 4.1.12 · 3.2.22

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof-of-concept repositories
none listed
PoC-in-GitHub

Sources

  • NVDCVSS 3.17.5read 2026-10-23
  • NVDweakness (CWE)CWE-1284read 2026-10-23
  • FIRST EPSSEPSS score1.5 %2026-10-23
  • OSVaffected packages—

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2023-11-03
Last Modified
2026-06-17
NVD status
Modified

Frequently asked questions

What is CVE-2023-43665?

In Django 3.2 before 3.2.22, 4.1 before 4.1.12, and 4.2 before 4.2.6, the django.utils.text.Truncator chars() and words() methods (when used with html=True) are subject to a potential DoS (denial of service) attack via certain inputs with very long, potentially malformed HTML text. The chars() and words() methods are used to implement the truncatechars_html and truncatewords_html template filters, which are thus also vulnerable. NOTE: this issue exists because of an incomplete fix for CVE-2019-14232.

Is CVE-2023-43665 actively exploited?

Active exploitation of CVE-2023-43665 has not been confirmed. Its EPSS score was 1.5% on 2026-10-23, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2023-43665?

CVE-2023-43665 has a CVSS v3 base score of 7.5 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running Django? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month