In Django 3.2 before 3.2.16, 4.0 before 4.0.8, and 4.1 before 4.1.2, internationalized URLs were subject to a potential denial of service attack via the locale parameter, which is treated as a regular expression.
https://www.djangoproject.com/weblog/2022/oct/04/security-releases/
https://security.netapp.com/advisory/ntap-20221124-0001/
https://groups.google.com/forum/#%21forum/django-announce
https://github.com/django/django/commit/5b6b257fa7ec37ff27965358800c67e2dd11c924