{"api_version":"1","generated_at":"2026-04-22T19:19:39+00:00","cve":"CVE-2023-43665","urls":{"html":"https://cve.report/CVE-2023-43665","api":"https://cve.report/api/cve/CVE-2023-43665.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-43665","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-43665"},"summary":{"title":"CVE-2023-43665","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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2023-11-03 05:15:00","updated_at":"2023-11-13 15:29:00"},"problem_types":["CWE-1284"],"metrics":[],"references":[{"url":"https://groups.google.com/forum/#%21forum/django-announce","name":"https://groups.google.com/forum/#%21forum/django-announce","refsource":"","tags":[],"title":"Redirecting to Google Groups","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HJFRPUHDYJHBH3KYHSPGULQM4JN7BMSU/","name":"FEDORA-2023-a67af7d8f4","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 39 Update: python-django-4.2.6-1.fc39 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://groups.google.com/forum/#!forum/django-announce","name":"https://groups.google.com/forum/#!forum/django-announce","refsource":"MISC","tags":[],"title":"Redirecting to Google Groups","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HJFRPUHDYJHBH3KYHSPGULQM4JN7BMSU/","name":"FEDORA-2023-a67af7d8f4","refsource":"","tags":[],"title":"[SECURITY] Fedora 39 Update: python-django-4.2.6-1.fc39 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.djangoproject.com/weblog/2023/oct/04/security-releases/","name":"https://www.djangoproject.com/weblog/2023/oct/04/security-releases/","refsource":"CONFIRM","tags":[],"title":"Django security releases issued: 4.2.6, 4.1.12, and 3.2.22 | Weblog | Django","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://docs.djangoproject.com/en/4.2/releases/security/","name":"https://docs.djangoproject.com/en/4.2/releases/security/","refsource":"MISC","tags":[],"title":"Archive of security issues | Django documentation | Django","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-43665","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-43665","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"43665","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"djangoproject","cpe5":"django","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2023","cve_id":"43665","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"39","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2023-43665","qid":"199805","title":"Ubuntu Security Notification for Django Vulnerabilities (USN-6414-2)"},{"cve":"CVE-2023-43665","qid":"199806","title":"Ubuntu Security Notification for Django Vulnerability (USN-6414-1)"},{"cve":"CVE-2023-43665","qid":"243144","title":"Red Hat Update for Satellite 6.14.3 (RHSA-2024:1536)"},{"cve":"CVE-2023-43665","qid":"284628","title":"Fedora Security Update for python (FEDORA-2023-cc023fabb7)"},{"cve":"CVE-2023-43665","qid":"284653","title":"Fedora Security Update for python (FEDORA-2023-9d36d373f1)"},{"cve":"CVE-2023-43665","qid":"285198","title":"Fedora Security Update for python (FEDORA-2023-a67af7d8f4)"},{"cve":"CVE-2023-43665","qid":"296105","title":"Oracle Solaris 11.4 Support Repository Update (SRU) 63.157.1 Missing (CPUOCT2023)"},{"cve":"CVE-2023-43665","qid":"503371","title":"Alpine Linux Security Update for py3-django"},{"cve":"CVE-2023-43665","qid":"506175","title":"Alpine Linux Security Update for py3-django"},{"cve":"CVE-2023-43665","qid":"691320","title":"Free Berkeley Software Distribution (FreeBSD) Security Update for django (4f254817-6318-11ee-b2ff-080027de9982)"},{"cve":"CVE-2023-43665","qid":"995839","title":"Python (Pip) Security Update for django (GHSA-h8gc-pgj2-vjm3)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2023-43665","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://groups.google.com/forum/#!forum/django-announce","refsource":"MISC","name":"https://groups.google.com/forum/#!forum/django-announce"},{"url":"https://docs.djangoproject.com/en/4.2/releases/security/","refsource":"MISC","name":"https://docs.djangoproject.com/en/4.2/releases/security/"},{"refsource":"CONFIRM","name":"https://www.djangoproject.com/weblog/2023/oct/04/security-releases/","url":"https://www.djangoproject.com/weblog/2023/oct/04/security-releases/"},{"refsource":"FEDORA","name":"FEDORA-2023-a67af7d8f4","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HJFRPUHDYJHBH3KYHSPGULQM4JN7BMSU/"}]}},"nvd":{"publishedDate":"2023-11-03 05:15:00","lastModifiedDate":"2023-11-13 15:29:00","problem_types":["CWE-1284"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*","versionStartIncluding":"4.2","versionEndExcluding":"4.2.6","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*","versionStartIncluding":"4.1","versionEndExcluding":"4.1.12","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*","versionStartIncluding":"3.2","versionEndExcluding":"3.2.22","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}