A logic issue was addressed with improved checks. This issue is fixed in macOS Ventura 13.6, iOS 16.7 and iPadOS 16.7, watchOS 10, iOS 17 and iPadOS 17, macOS Sonoma 14. An app may be able to access sensitive data logged when a user shares a link.
https://support.apple.com/en-us/HT213940
https://support.apple.com/en-us/HT213938
https://support.apple.com/en-us/HT213937
https://support.apple.com/en-us/HT213931
https://support.apple.com/en-us/HT213927
http://seclists.org/fulldisclosure/2023/Oct/9
http://seclists.org/fulldisclosure/2023/Oct/8
http://seclists.org/fulldisclosure/2023/Oct/5