A correctness issue was addressed with improved checks. This issue is fixed in macOS Sonoma 14, Safari 17, iOS 17 and iPadOS 17. Processing web content may lead to arbitrary code execution.
https://support.apple.com/en-us/HT213941
https://support.apple.com/en-us/HT213940