Django versions 5.0 prior to 5.0.8 and 4.2 prior to 4.2.15 contain a vulnerability in the urlize and urlizetrunc template filters and the AdminURLFieldWidget widget. This flaw allows a potential denial-of-service (DoS) attack when processing inputs with a very large number of Unicode characters. The issue has been addressed in versions 5.0.8 and 4.2.15.