---
title: "Plaintext in Memory: Revisiting Browser Password Security"
description: This blog post shows how browsers expose passwords in memory and how they can potentially be extracted.
image: https://avantguard.io/hubfs/Blog/Passwortsicherheit%20im%20Browser/title-small.png
---

[Skip to content](https://avantguard.io/en/blog/klartext-im-speicher-neubewertung-der-passwortsicherheit-im-browser#main)

[![avantguard cyber security](https://avantguard.io/hs-fs/hubfs/LogoInverted.png?width=128&height=61&name=LogoInverted.png)](https://avantguard.io/en/)

- [Services](https://avantguard.io/en/services)
- [About Us](https://avantguard.io/en/about-us)
- [Experience](https://avantguard.io/en/experience)
- [Career](https://avantguard.io/en/careers)
- [Research](https://avantguard.io/en/blog)
- [Contact](https://avantguard.io/en/contact)

[DE](https://avantguard.io/blog/klartext-im-speicher-neubewertung-der-passwortsicherheit-im-browser) EN 

[Request an offer](https://avantguard.io/en/request-an-offer)

[DE](https://avantguard.io/blog/klartext-im-speicher-neubewertung-der-passwortsicherheit-im-browser) EN 

[Request an offer](https://avantguard.io/en/request-an-offer)

[← All posts](https://avantguard.io/en/blog)

- [Offensive](https://avantguard.io/en/blog/tag/offensive)
- [Research](https://avantguard.io/en/blog/tag/research)
- [Cleartext Credentials](https://avantguard.io/en/blog/tag/cleartext-credentials)

# Plaintext in Memory: Revisiting Browser Password Security

[![](https://avantguard.io/hs-fs/hubfs/AboutUs/Christian%20Bieg-1.jpg?width=40&height=40&name=Christian%20Bieg-1.jpg) Christian Bieg](https://avantguard.io/en/blog/author/christian-bieg) May 22, 2026 3 min read

![Plaintext in Memory: Revisiting Browser Password Security](https://avantguard.io/hs-fs/hubfs/Blog/Passwortsicherheit%20im%20Browser/title-small.png?width=1600&name=title-small.png)

## Initial situation

 In early May, it became publicly known that Microsoft Edge keeps stored passwords unencrypted in memory when the process starts

 ([https://x.com/L1v1ng0ffTh3L4N/status/2051308329880719730](https://x.com/L1v1ng0ffTh3L4N/status/2051308329880719730)). This allowed extracting saved passwords directly from the memory of `msedge.exe`.

Microsoft responded (see [https://microsoftedge.github.io/edgevr/posts/Saved-passwords-in-Edge-memory-what-were-changing-and-why/](https://microsoftedge.github.io/edgevr/posts/Saved-passwords-in-Edge-memory-what-were-changing-and-why/)) and introduced a change in version 148.0.3967.70 that prevents passwords from being present in decrypted form in memory at startup.

Based on this, we further investigated the handling of passwords in memory in Microsoft Edge and Google Chrome.

## Observation

 Our analysis revealed that when opening `edge://settings/autofill`, multiple stored passwords are still decrypted and held in memory. On this page, passwords are not displayed in plaintext by default, so there is no functional need to decrypt them at that point. 

It also turned out that this issue not only affects Microsoft Edge, but also Google Chrome.

![Plaintext in Memory: Revisiting Browser Password Security](https://avantguard.io/hs-fs/hubfs/Blog/Passwortsicherheit%20im%20Browser/title-small.png?width=1250&height=512&name=title-small.png)

# Automation

A direct call to `msedge.exe edge://settings/autofill` is not possible. The browser apparently only accepts certain URL schemes at startup (e.g. `http://` and `https://`), but not `edge://`.

 To make the behavior reproducible and automatable, we proceeded as follows: 

- Terminate all `msedge.exe` processes
- Back up the files in the directory `[User Data]/Default/Sessions`
- Deploy a prepared session containing a tab with `edge://settings/autofill`
- Start `msedge.exe --restore-previous-session` to force loading the session
- Extract the passwords from the process memory
- Terminate all `msedge.exe` processes
- Restore the original session files

We implemented a proof of concept that automates these steps. The approach works with both Microsoft Edge and Google Chrome. The proof of concept can be found here: [ChristianBiegAG/SavedPasswordsDumper](https://github.com/ChristianBiegAG/SavedPasswordsDumper)

## **Assessment**

We reported this behavior to the Chromium team on 2026-05-20. However, the issue was closed with reference to the so-called “Infected Machine” threat model, in which attacks with already existing code execution in the user context are not taken into account.

Regardless of this, the question arises as to what expectations should be placed on an integrated password manager. In many security designs, the principle applies that sensitive data is only decrypted when it is actually needed.

In this specific case, this means:

1. Decryption as late as possible (on-demand)
2. Restriction to the specifically required entries
3. Minimization of the time spent in memory
4. Optional additional user confirmation (e.g. via OS authentication or biometrics)

Other password managers (such as [Keepass](https://avantguard.io/blog/keepass-angreifen-und-h%C3%A4rten)) implement these principles.

Contents

- [Offensive](https://avantguard.io/en/blog/tag/offensive)
- [Research](https://avantguard.io/en/blog/tag/research)
- [Cleartext Credentials](https://avantguard.io/en/blog/tag/cleartext-credentials)

![](https://avantguard.io/hs-fs/hubfs/AboutUs/Christian%20Bieg-1.jpg?width=40&height=40&name=Christian%20Bieg-1.jpg) Written by [Christian Bieg](https://avantguard.io/en/blog/author/christian-bieg)

Research

## Related posts

[![](https://avantguard.io/hs-fs/hubfs/Blog/BlueHammerRedSun/bluehammer-1.png?width=800&name=bluehammer-1.png)](https://avantguard.io/en/blog/bluehammer-und-redsun-analysiert)

- [Offensive](https://avantguard.io/en/blog/tag/offensive)
- [Red Team](https://avantguard.io/en/blog/tag/red-team)
- [News](https://avantguard.io/en/blog/tag/news)

### [BlueHammer and RedSun analysed](https://avantguard.io/en/blog/bluehammer-und-redsun-analysiert)

This article takes a closer look at two recent vulnerabilities, BlueHammer and RedSun, and explains why they have attracted so much attention.

[Andrei Herasimau](https://avantguard.io/en/blog/author/andrei-herasimau) June 9, 2026 15 min read

[![](https://avantguard.io/hs-fs/hubfs/image-3-png.png?width=800&name=image-3-png.png)](https://avantguard.io/en/blog/erfahrungsbericht-ki-gestützte-bof-entwicklung-im-red-team)

- [Offensive](https://avantguard.io/en/blog/tag/offensive)
- [AI](https://avantguard.io/en/blog/tag/ai)

### [Experience Report: AI-Assisted BOF Development in Red Teaming](https://avantguard.io/en/blog/erfahrungsbericht-ki-gestützte-bof-entwicklung-im-red-team)

This blog post details my experience utilizing artificial intelligence in offensive cybersecurity to port a current LSASS dumping tool into a Beacon Object File (BOF) for use in a ...

[Sandro Ackermann](https://avantguard.io/en/blog/author/sandro-ackermann) April 8, 2026 7 min read

[![](https://avantguard.io/hs-fs/hubfs/Blog/threadless2/new_plan.png?width=800&name=new_plan.png)](https://avantguard.io/en/blog/threadless-ops-ii-enhanced-evasion)

- [Offensive](https://avantguard.io/en/blog/tag/offensive)
- [Research](https://avantguard.io/en/blog/tag/research)
- [Red Team](https://avantguard.io/en/blog/tag/red-team)

### [Threadless Ops II – Enhanced Evasion](https://avantguard.io/en/blog/threadless-ops-ii-enhanced-evasion)

In Threadless Ops II, we combine threadless injection with evasion techniques to bypass EDR heuristics. Using Crystal Palace lets us modularly integrate tradecraft (call stack ...

[Sandro Ackermann](https://avantguard.io/en/blog/author/sandro-ackermann) February 27, 2026 17 min read

## Wie sicher sind Ihre Systeme wirklich?

Erzählen Sie uns von Ihrem Vorhaben. Sie erhalten ein unverbindliches Angebot.

[Offerte anfragen](https://avantguard.io/offerte-anfragen) [+41 55 253 30 30](tel:+41552533030)

[![avantguard cyber security](https://avantguard.io/hs-fs/hubfs/LogoInverted.png?width=140&height=66&name=LogoInverted.png)](https://avantguard.io/en/)

avantguard cyber security AG  
Neue Jonastrasse 52  
8640 Rapperswil-Jona, Switzerland  
[+41 55 253 30 30](tel:+41552533030)  
[info@avantguard.io](mailto:info@avantguard.io)

<https://ch.linkedin.com/company/avantguard-cyber-security-ag> <https://x.com/avantguard_io> <https://www.youtube.com/@avantguardcybersecurity>

## Company

- [Services](https://avantguard.io/en/services)
- [About us](https://avantguard.io/en/about-us)
- [Experience](https://avantguard.io/en/experience)
- [AI at avantguard](https://avantguard.io/en/ai-at-avantguard)
- [Careers](https://avantguard.io/en/careers)
- [Research](https://avantguard.io/en/blog)
- [Contact](https://avantguard.io/en/contact)

## Services

- [Penetration Testing](https://avantguard.io/en/penetration-test)
- [Red Teaming](https://avantguard.io/en/red-teaming)
- [Attack Simulation](https://avantguard.io/en/attack-simulation)
- [FINMA-regulated pentesting](https://avantguard.io/en/finma-regulated-pentesting)
- [AD Security Improvement](https://avantguard.io/en/ad_improvement)
- [mesher](https://avantguard.io/en/mesher)
- [All services](https://avantguard.io/en/services)

## Research

- [The Blind Spot Of 802.1X Network Access Control (NAC)](https://avantguard.io/en/blog/die-blinde-stelle-von-802.1x-network-access-control-nac)
- [BlueHammer and RedSun analysed](https://avantguard.io/en/blog/bluehammer-und-redsun-analysiert)
- [Plaintext in Memory: Revisiting Browser Password Security](https://avantguard.io/en/blog/klartext-im-speicher-neubewertung-der-passwortsicherheit-im-browser)
- [Experience Report: AI-Assisted BOF Development in Red ...](https://avantguard.io/en/blog/erfahrungsbericht-ki-gestützte-bof-entwicklung-im-red-team)
- [All posts](https://avantguard.io/en/blog)

© 2026 avantguard cyber security AG

- [Privacy policy](https://avantguard.io/en/privacy-policy)
- [Deutsch](https://avantguard.io/)