The issue was addressed with improved checks. This issue is fixed in iPadOS 17.7.4, macOS Ventura 13.7.3, macOS Sonoma 14.7.3, visionOS 2.2, tvOS 18.2, watchOS 11.2, iOS 18.2 and iPadOS 18.2, macOS Sequoia 15.2. Processing web content may lead to a denial-of-service.
https://support.apple.com/en-us/122070
https://support.apple.com/en-us/122069
https://support.apple.com/en-us/122067
https://support.apple.com/en-us/121845
https://support.apple.com/en-us/121844
https://support.apple.com/en-us/121843