The issue was addressed with improved memory handling. This issue is fixed in Safari 17.2, iOS 17.2 and iPadOS 17.2, macOS Sonoma 14.2. Processing web content may lead to a denial-of-service.
https://support.apple.com/kb/HT214039
https://support.apple.com/en-us/HT214039
https://support.apple.com/en-us/HT214036