Inappropriate implementation in UI (CVE-2026-11270)
Chrome for Android passed the top-level frame's URL to the Android Autofill framework when showing an HTTP authentication prompt for a cross-origin iframe, instead of the challenger's origin. This could trick third-party password managers into suggesting credentials for the top-level site, which would then be sent to the attacker-controlled iframe.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 54 days
Project Fortify, 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 without the Chrome Security team.
Overview: When an HTTP authentication prompt is triggered on Android, Chrome incorrectly provides the top-level frame's URL to the Android Autofill framework instead of the challenger's origin. This allows a cross-origin iframe to trigger a prompt that tricks third-party password managers into suggesting credentials for the top-level site, leading to potential credential theft.
Affected files:
chrome/android/java/src/org/chromium/chrome/browser/login/ChromeHttpAuthHandler.javachrome/browser/ui/android/login_handler_android.ccchrome/browser/ui/android/chrome_http_auth_handler.cccomponents/browser_ui/http_auth/android/java/src/org/chromium/components/browser_ui/http_auth/LoginPrompt.javacomponents/browser_ui/widget/android/java/src/org/chromium/components/browser_ui/widget/text/AlertDialogEditText.java
Estimated timestamp from git blame: 2025-09-29
Summary
When a navigation or subresource request triggers an HTTP Basic Authentication challenge (401 Unauthorized), Chrome for Android displays a modal login prompt. To integrate with third-party password managers acting as the system Autofill service (such as Bitwarden or 1Password), Chrome provides a webDomain to help the service identify which credentials to suggest.
Currently, Chrome incorrectly reports the URL of the top-level visible frame (mTab.getUrl()) instead of the origin of the actual challenger (the cross-origin iframe or resource). As a result, third-party password managers will suggest the user's credentials for the top-level site. If the user accepts the suggestion and clicks "Sign in", those credentials are sent to the cross-origin challenger in an Authorization: Basic header.
Technical Details
When a subframe navigation triggers a 401 response, HttpAuthCoordinator::Flow::ShowDialog handles the challenge and creates a LoginHandlerAndroid. LoginHandlerAndroid instantiates the native ChromeHttpAuthHandler, which in turn calls the Java ChromeHttpAuthHandler.showDialog method via JNI.
In ChromeHttpAuthHandler.java, the showDialog method calculates an Autofill URL to pass to the UI:
mLoginPrompt =
new LoginPrompt(
activity,
messageBody,
shouldProvideAutofillUrl() ? mTab.getUrl() : null,
this);
The method mTab.getUrl() calls TabImpl.getUrl(), which returns getWebContents().getVisibleUrl() (the top-level main frame's URL). This value is passed down to LoginPrompt.java and eventually to the username/password fields, which are instances of AlertDialogEditText.java.
When the Android Autofill framework requests the view structure, AlertDialogEditText emits this top-level URL:
@Override
public void onProvideAutofillStructure(ViewStructure structure, int flags) {
if (mUrl != null && !mUrl.isEmpty()) {
structure.setWebDomain(mUrl.getSpec());
}
super.onProvideAutofillStructure(structure, flags);
}
Because the native layer does not forward the raw challenger origin (auth_info.challenger.GetURL()) to the Java layer, the metadata provided to the system autofill service is incorrect, even though the dialog body text accurately names the challenger.
Potential Exploitation Steps
Note: These steps describe a potential attack path; an automated test environment has not executed a working proof of concept.
- An attacker compromises an iframe or embeds a cross-origin iframe on a legitimate site (e.g.,
https://victim.example). - The attacker directs the iframe navigation to an attacker-controlled endpoint:
https://attacker.example/auth. - The attacker's server responds with an HTTP
401 Unauthorizedstatus and aWWW-Authenticate: Basicheader. - Chrome displays an HTTP Auth prompt. Because of the bug, Android's Autofill framework is told the context is
victim.example. - The user's third-party password manager suggests the stored credentials for
victim.example. - Trusting the password manager and the context of the top-level site they are visiting, the user selects the suggested credentials and clicks "Sign in".
- Chrome transmits the credentials to
https://attacker.example/auth, exposing them to the attacker.
Suggested Fix
The native ChromeHttpAuthHandler should be modified to accept the challenger's URL (derived from net::AuthChallengeInfo) during initialization and pass it to the Java layer. ChromeHttpAuthHandler.java should then use this challenger URL, rather than mTab.getUrl(), as the argument to the LoginPrompt constructor to ensure the Autofill framework receives the correct domain context.
Evaluated with Chrome root at commit: 096fc8fdbfacf2546485756d03f160a3d04fcc9b
Results so far have been promising, but there can be wrong deductions. If this proves to be a false positive, please close as WAI; 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 native authentication handler did not forward the challenger's origin to the Java layer, so the dialog used the tab's visible URL for autofill metadata.
Impact
Credentials for the top-level site could be exposed to the attacker if the user accepts a password manager suggestion, though the report notes no working proof of concept was executed.
What the attacker needed
Victim uses a third-party password manager; victim visits a site with an attacker iframe; victim accepts the suggested credentials
The fix
The native handler should accept the challenger's URL from the authentication challenge and pass it to the Java layer so the autofill framework receives the correct domain.
How it was found
- An attacker embeds a cross-origin iframe on a legitimate site.
- The iframe navigates to an attacker-controlled endpoint.
- The attacker's server responds with a 401 Unauthorized and a Basic authentication challenge.
- Chrome shows an HTTP authentication prompt and tells Android Autofill the context is the top-level site.
- The user's password manager suggests credentials for the top-level site.
- The user selects the credentials and clicks Sign in, sending them to the attacker's endpoint.
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 a website asks for a username and password using a built-in browser pop-up, Chrome on Android tells your password manager which site the request is for. A bug made it name the main page you are viewing rather than the hidden frame that actually asked. So a password manager could offer your login for the trusted site, and if you accepted, the password would go to the attacker's frame instead.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.