Insufficient policy enforcement in Autofill (CVE-2026-10944)
The iOS Manual Fill feature cached unmasked virtual credit cards per tab and skipped re-authentication on cache hits. A malicious cross-origin iframe could programmatically focus an input to redirect the next manual-fill injection to itself and steal the card details.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 45 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. Please see go/chrome-ai-generated-security-bugs-faq for more information.
Overview: The iOS Manual Fill feature caches unmasked Virtual Credit Cards per-tab and skips authentication on cache hits. A malicious cross-origin iframe can steal these unmasked details by programmatically calling focus() while the accessory is open, as the injection handler fails to verify if the focus event originated from a user gesture.
Affected files:
ios/chrome/browser/autofill/ui_bundled/manual_fill/manual_fill_virtual_card_cache.mmios/chrome/browser/autofill/ui_bundled/manual_fill/card_coordinator.mmios/chrome/browser/autofill/ui_bundled/manual_fill/manual_fill_injection_handler.mmios/chrome/browser/autofill/ui_bundled/manual_fill/manual_fill_card_mediator.mmios/chrome/browser/autofill/ui_bundled/manual_fill/manual_fill_virtual_card_cache.h
Estimated timestamp from git blame: 2026-01-29
Background
The iOS Manual Fill feature provides a keyboard accessory that allows users to manually fill payment information into web forms. When a user selects a virtual card (VCN), they undergo authentication to unmask it. To improve UX, a caching mechanism (ManualFillVirtualCardCache) stores the unmasked card so subsequent taps on the same card (e.g., filling Card Number then CVC) skip re-authentication.
Vulnerability Details
A combination of insecure caching and insufficient focus-event validation leads to a potential cross-origin leak of unmasked credit card data.
1. Insecure Virtual Card Cache:
ManualFillVirtualCardCache stores unmasked virtual cards (containing full PAN, CVC, and expiry) per web::WebState. The cache is only invalidated in DidFinishNavigation when !IsSameDocument(). Because DidFinishNavigation on iOS only fires for main-frame navigations, the sensitive cache persists across subframe navigations and cross-origin iframes.
2. Re-authentication Bypass:
In card_coordinator.mm, the onDismissCompleted:fieldType: method checks the cache before requesting a full card. On a cache hit, it bypasses ManualFillFullCardRequester and calls onFullCardRequestSucceeded directly, bypassing all authentication checks, including Payments Mandatory Re-auth.
3. Cross-Origin Focus Capture via Missing Gesture Check:
ManualFillInjectionHandler tracks the frame and element to be filled via didRegisterFormActivity. This handler updates lastFocusedElementFrameIdentifier whenever any frame emits a 'focus' event. Crucially, it does not check if the focus event was triggered by a user gesture (params.has_user_gesture). A malicious iframe can programmatically call focus() on an input field to silently become the target for the next manual-fill injection.
Potential Attack Scenario
Note: These are suggested steps; a working proof of concept has not yet been executed.
- A user visits
https://legitimate-merchant.com/checkout, which embeds a malicious iframe fromhttps://attacker.com. - The user focuses the merchant's credit card input, triggering the Manual Fill accessory.
- The user taps the "Card Number" chip for a VCN, authenticates, and the unmasked PAN is injected into the merchant's frame. The unmasked card is now cached in the
WebState. - The attacker's iframe executes JavaScript to programmatically focus a hidden input (
element.focus()). - The iOS Autofill JS sends a
'focus'event to the browser. BecauseManualFillInjectionHandlerignores the fact thathas_user_gestureis false, it updates the target frame to the attacker's iframe. - The user taps the "CVC" chip on the accessory to continue filling the form.
CardCoordinatorfinds the card in the cache, bypasses authentication, and injects the unmasked CVC directly into the attacker's iframe.- The attacker exfiltrates the sensitive data via an
oninputevent.
Suggested Fix
- Enforce User Gesture: Modify
ManualFillInjectionHandler::webState:didRegisterFormActivity:inFrame:to ignorefocusevents whereparams.has_user_gestureis false. - Isolate Cache: The
ManualFillVirtualCardCacheshould be keyed byWebFrameID or Origin, not just theWebState, to prevent cross-frame leakage. Alternatively, the cache should be explicitly cleared when the focused frame changes.
Evaluated with Chrome root at commit: 7353d249d9cacf9c7218e1d7b8a39cf39c72d646
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 combination of a per-tab cache of unmasked card data that survives subframe navigations and a focus handler that does not check whether a focus event came from a real user gesture.
Impact
An attacker could steal unmasked virtual card details, but the report notes that a working proof of concept has not yet been executed.
What the attacker needed
IOS device with Manual Fill; user visits a page with an attacker iframe; user authenticates a virtual card once; user taps another fill chip
The fix
The focus handler should ignore focus events without a user gesture, and the cache should be keyed by frame or origin or cleared when the focused frame changes.
How it was found
- The user visits a checkout page that embeds an attacker-controlled iframe.
- The user focuses the merchant's card input, opening the Manual Fill accessory.
- The user taps the card number chip, authenticates, and the unmasked number is filled and cached.
- The attacker's iframe runs script to focus a hidden input.
- The browser treats the attacker's iframe as the new fill target because the focus lacked a user gesture.
- The user taps the CVC chip, the cache is used without re-authentication, and the CVC is filled into the attacker's iframe.
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 use a saved card on a website, the browser may ask you to confirm it is you before showing the full card number. This report says that on iPhones, after you confirmed once, the browser remembered the full card for that tab and did not ask again. A bad advert or embedded frame on the same page could trick the browser into typing the card into the attacker's hidden box instead of the shop's payment form.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.