This vulnerability occurs when an application fails to hide password characters as they are typed, making them visible to anyone who can see the screen. This exposes user credentials to onlookers or screen-capturing malware.
Password masking is a fundamental security feature that protects credentials from 'shoulder surfing'—where someone physically observes the screen—and from software that may capture screen content. When this visual protection is missing, even a brief exposure can lead to a compromised account, as passwords are entered in plain sight. For developers, the fix is straightforward: always use an input field with its type attribute set to 'password' in HTML, or the equivalent secure text entry component in your chosen UI framework. This ensures the field automatically obscures each character, typically with dots or asterisks, providing a critical layer of privacy during authentication without affecting functionality.
Impact: Bypass Protection Mechanism