This issue was addressed with improved redaction of sensitive information. This issue is fixed in macOS Sonoma 14.6, iOS 16.7.9 and iPadOS 16.7.9, macOS Monterey 12.7.6, macOS Ventura 13.6.8. An app may be able to read Safari's browsing history.
https://support.apple.com/en-us/HT214118
https://support.apple.com/en-us/HT214120
https://support.apple.com/en-us/HT214119
https://support.apple.com/en-us/HT214116
http://seclists.org/fulldisclosure/2024/Jul/20
http://seclists.org/fulldisclosure/2024/Jul/19