A logic issue was addressed with improved checks. This issue is fixed in iOS 17.3 and iPadOS 17.3, Safari 17.3, tvOS 17.3, macOS Sonoma 14.3, watchOS 10.3. A malicious website may cause unexpected cross-origin behavior.
https://support.apple.com/kb/HT214061
https://support.apple.com/kb/HT214060
https://support.apple.com/kb/HT214059
https://support.apple.com/kb/HT214056
https://support.apple.com/kb/HT214055
https://support.apple.com/en-us/HT214061
https://support.apple.com/en-us/HT214060
https://support.apple.com/en-us/HT214059