The issue was addressed with improved checks. This issue is fixed in iOS 15.7.8 and iPadOS 15.7.8, iOS 16.6 and iPadOS 16.6, tvOS 16.6, macOS Ventura 13.5, Safari 16.6, watchOS 9.6. A website may be able to bypass Same Origin Policy.
https://www.debian.org/security/2023/dsa-5468
https://support.apple.com/en-us/HT213848
https://support.apple.com/en-us/HT213847
https://support.apple.com/en-us/HT213846
https://support.apple.com/en-us/HT213843
https://support.apple.com/en-us/HT213842
https://support.apple.com/en-us/HT213841