This issue was addressed with improved redaction of sensitive information. This issue is fixed in iOS 16.7.2 and iPadOS 16.7.2. A user's password may be read aloud by VoiceOver.
https://support.apple.com/en-us/HT213981
https://security.gentoo.org/glsa/202401-33