Skip to content

Information Disclosure: Password Field Autocompletion

Identifier: password_field_autocompletion

Scanner(s) Support

GraphQL Scanner REST Scanner WebApp Scanner ASM Scanner

Description

Password field autocompletion allows browsers to automatically fill password fields with stored credentials, which can be accessed by malicious scripts, browser extensions, or unauthorized users on shared devices.

How we test: We analyze HTML forms to detect if password fields have autocomplete attributes disabled. We check for the autocomplete="off" or autocomplete="new-password" attributes on password input fields to ensure browsers are prevented from storing and auto-filling credentials.

References:

Configuration

Example

Example configuration:

---
security_tests:
  password_field_autocompletion:
    skip: false

Reference

skip

Type : boolean

Skip the test if true.