{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-32873","id":"CVE-2025-32873","title":"Django has a denial-of-service possibility in strip_tags()","description":"An issue was discovered in Django 4.2 before 4.2.21, 5.1 before 5.1.9, and 5.2 before 5.2.1. The django.utils.html.strip_tags() function is vulnerable to a potential denial-of-service (slow performance) when processing inputs containing large sequences of incomplete HTML tags. The template filter striptags is also vulnerable, because it is built on top of strip_tags().","descriptionLong":"An issue was discovered in Django 4.2 before 4.2.21, 5.1 before 5.1.9, and 5.2 before 5.2.1. The django.utils.html.strip_tags() function is vulnerable to a potential denial-of-service (slow performance) when processing inputs containing large sequences of incomplete HTML tags. The template filter striptags is also vulnerable, because it is built on top of strip_tags().","published":"2025-05-08T00:00:00.000Z","updated":"2026-11-17T02:45:11.524886261Z","reserved":"2025-04-11T00:00:00.000Z","status":"Analyzed","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"mitre"},"metrics":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"mitre"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"mitre.org"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"NVD"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"OSV"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"GitHub"}],"rating":"medium","products":["djangoproject Django"],"affectedProducts":[{"vendor":"djangoproject","product":"Django","defaultStatus":"unknown","versions":[{"lessThan":"4.2.21","status":"affected","version":"4.2","versionType":"custom"},{"lessThan":"5.1.9","status":"affected","version":"5.1","versionType":"custom"},{"lessThan":"5.2.1","status":"affected","version":"5.2","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=4.2 <4.2.21",">=5.1 <5.1.9",">=5.2 <5.2.1"],"fixed":["4.2.21","5.1.9","5.2.1"],"advisory":"GHSA-8j24-cjrq-gr2m"}],"cwes":["CWE-770"],"aliases":["BIT-django-2025-32873","GHSA-8j24-cjrq-gr2m","PYSEC-2025-37"],"references":[{"url":"https://docs.djangoproject.com/en/dev/releases/security/","tags":["Release Notes","web"]},{"url":"https://groups.google.com/g/django-announce","tags":["Mailing List","web"]},{"url":"https://www.djangoproject.com/weblog/2025/may/07/security-releases/","tags":["Vendor Advisory","article"]},{"url":"http://www.openwall.com/lists/oss-security/2025/05/07/1","tags":["Mailing List","Third Party Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/32xxx/CVE-2025-32873.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-32873","tags":["advisory"]},{"url":"https://github.com/django/django/commit/9f3419b519799d69f2aba70b9d25abe2e70d03e0","tags":["web"]},{"url":"https://docs.djangoproject.com/en/dev/releases/security","tags":["web"]},{"url":"https://github.com/django/django","tags":["package"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2025-37.yaml","tags":["web"]},{"url":"https://www.djangoproject.com/weblog/2025/may/07/security-releases","tags":["web"]},{"url":"https://github.com/advisories/GHSA-8j24-cjrq-gr2m","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.1431,"epssPercentile":0.96677,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-32873","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-32873","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-32873","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-8j24-cjrq-gr2m","ok":true,"note":"GHSA-8j24-cjrq-gr2m"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-32873","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["django"],"critical":[],"attention":null}