A logic issue was addressed with improved state management. This issue is fixed in macOS Monterey 12.3, Safari 15.4, watchOS 8.5, iOS 15.4 and iPadOS 15.4, tvOS 15.4. A malicious website may cause unexpected cross-origin behavior.
https://support.apple.com/en-us/HT213193
https://support.apple.com/en-us/HT213187
https://support.apple.com/en-us/HT213186