Insufficient policy enforcement in Passwords (CVE-2026-17720)
The Password Manual Fallback preview sends the cleartext username of a cross-domain credential to the renderer via Mojo IPC, even though the password is masked. A compromised renderer could exfiltrate cross-domain usernames without user consent, bypassing Site Isolation.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 49 days
Flapjack, an experimental security project, has identified the following potential security issue. If you're a feature owner CC-ed on this bug, please do your best to review these reports. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.
Overview: A compromised renderer can potentially exfiltrate cross-domain usernames during the Password Manual Fallback preview phase. While passwords are masked in previews, usernames are transmitted in cleartext via Mojo IPC, bypassing Site Isolation protections without explicit user consent.
Affected files:
components/password_manager/core/browser/password_manual_fallback_flow.cc
Estimated timestamp from git blame: 2024-02-27
Summary
A potential vulnerability exists in the Password Manual Fallback flow where a compromised renderer can steal cross-domain usernames without explicit user interaction or consent. Although cross-domain passwords are masked during the preview phase, the cleartext username is still transmitted back to the renderer via Mojo IPC. This allows an attacker to exfiltrate sensitive PII (usernames) across origins, bypassing Site Isolation.
Vulnerability Details
In components/password_manager/core/browser/password_manual_fallback_flow.cc, the DidSelectSuggestion method handles the preview of password suggestions when a user hovers over an item in the autofill popup.
For autofill::SuggestionType::kPasswordEntry:
case autofill::SuggestionType::kPasswordEntry: {
// ...
const auto payload =
suggestion.GetPayload<Suggestion::PasswordSuggestionDetails>();
password_manager_driver_->PreviewSuggestionById(
form->username_element_renderer_id,
form->password_element_renderer_id,
GetUsernameFromLabel(suggestion.labels[0][0].value),
std::u16string(kCrossDomainPasswordPreviewLabelLength, '*'));
break;
}
While the password is masked, GetUsernameFromLabel extracts the cleartext username from the suggestion's label. Crucially, unlike DidAcceptSuggestion, DidSelectSuggestion lacks any checks for payload.is_cross_domain. Consequently, the cleartext cross-domain username is immediately sent to the renderer via the PreviewSuggestionById Mojo IPC.
Potential Exploitation Path
Note: These are suggested steps based on static analysis; a working proof-of-concept has not been run.
An attacker controlling a renderer process could potentially exploit this by:
- Constructing a dummy password form in the DOM to ensure a valid
PasswordFormexists in the browser'spassword_form_cache_. - Tracking the user's mouse movements to predict the cursor's path.
- Sending a spoofed
AskForValuesToFillMojo IPC message to the browser, specifyingtrigger_source = autofill::AutofillSuggestionTriggerSource::kManualFallbackPasswordsfor the dummy field. - Timing the IPC so the resulting 'All passwords' fallback popup spawns directly in the path of the user's moving cursor.
- As the cursor naturally enters a cross-domain suggestion row, it satisfies the
mouse_observed_outside_item_bounds_check inPopupRowView, triggering a valid hover event. PasswordManualFallbackFlow::DidSelectSuggestionprocesses the hover and transmits the cleartext cross-domain username via thePreviewPasswordSuggestionByIdMojo IPC.- The compromised renderer intercepts the IPC or reads the DOM preview to exfiltrate the username.
Proposed Remediation
In PasswordManualFallbackFlow::DidSelectSuggestion, check the is_cross_domain flag on the suggestion payload before transmitting the preview. For cross-domain credentials, the username should either be masked or the preview should be entirely disabled until the user explicitly accepts the suggestion and clears the cross-domain consent dialog.
Evaluated with Chrome root at commit: 2155cb00003ec35716a76ed3246eae995f87b7ff
Results so far have been promising, but there can be wrong deductions. Feel free to adjust as follows:
- If you are familiar with the severity guidelines, you may adjust the severity.
- If this is a false positive, and there's no work to be done, please close as WAI.
- If there is work to do here but not a vulnerability, please change the issue type to Task/Bug/FR.
Data from false positives will be used to improve accuracy over time. And please feel free to reach out to me directly if you have concerns or feedback on the project.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the DidSelectSuggestion method lacks a check for the is_cross_domain flag before sending the username to the renderer.
Impact
A compromised renderer could exfiltrate cross-domain usernames without explicit user consent, bypassing Site Isolation.
What the attacker needed
Compromised renderer process; user hovers over a cross-domain suggestion
The fix
The DidSelectSuggestion method should check the is_cross_domain flag and mask the username or disable the preview for cross-domain credentials until the user explicitly accepts.
How it was found
- Construct a dummy password form in the DOM.
- Track mouse movements to predict the cursor path.
- Send a spoofed AskForValuesToFill IPC with manual fallback trigger for the dummy field.
- Time the IPC so the fallback popup appears in the cursor path.
- The cursor enters a cross-domain suggestion row, triggering a hover event.
- DidSelectSuggestion sends the cleartext username via Mojo IPC, which the renderer intercepts.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
When you hover over a saved password suggestion, the browser shows a preview. For passwords from other websites, the password is hidden with asterisks, but the username is still sent to the web page's code in plain text. A malicious page could read that username, even though it should not be able to see data from other sites.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.