Password field with autocomplete enabled
Summary: PortSwigger Research describes a password field with autocomplete enabled, where browsers that remember entered credentials store them locally and retrieve them on future visits to the same application. The stored credentials can be captured by an attacker who gains control of the user's computer, or retrieved through a separate vulnerability such as cross-site scripting, and the suggested fix is adding autocomplete="off" to the FORM or INPUT tags, though modern browsers may ignore it.
Why it matters: PortSwigger notes that not disabling autocomplete may cause problems obtaining PCI compliance, and the same browser-stored credentials an attacker pulls through an XSS flaw are the ones your users rely on everywhere else.
Read the original at PortSwigger Research ↗
- Topics
- Vulnerabilities & Patching
- Related
- Attackers Exploit UnrealIRCd Flaw That Enables Server-Level Command Injection Cyber Risks · Nov 14, 2026U.S. CISA adds Check Point and UnrealIRCd flaws to its Known Exploited Vulnerabilities catalog Cyber Risks · Nov 14, 2026PostgreSQL Patches 52 Flaws, Including 22-Year-Old Bug Enabling Authenticated RCE Cyber Risks · Nov 13, 2026