Skip to content
UI spoofing Advisory Advanced CVE-2026-13995

Insufficient validation of untrusted input in Autofill (CVE-2026-13995)

The Android Autofill UI can be positioned outside the WebView's visible area because renderer-supplied form field bounds are not clamped to the container view. A malicious renderer could spoof native browser UI or perform credential tapjacking by aligning Autofill suggestions with native buttons.

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. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.

Overview: A potential vulnerability in Chromium for Android allows the system Autofill UI to be positioned outside the WebView's visible area by providing unvalidated form field bounds. This occurs because renderer-supplied coordinates are transformed to screen space without being clamped or intersected with the WebView's boundaries. An attacker could leverage this to spoof native UI elements, such as the address bar, or perform credential tapjacking attacks.

Affected files:

  • components/android_autofill/browser/java/src/org/chromium/components/autofill/AutofillProvider.java
  • components/android_autofill/browser/android_autofill_provider.cc
  • components/autofill/core/common/mojom/autofill_types_mojom_traits.cc
  • components/autofill/core/common/autofill_data_validation.cc
  • components/autofill/content/browser/content_autofill_driver.cc

Estimated timestamp from git blame: Unknown (Google3 checkout)

Potential Vulnerability: Unclamped Android Autofill Bounds

A vulnerability is suspected in the Android implementation of Autofill where renderer-supplied FormFieldData::bounds are passed to the Android framework without proper validation or clamping against the WebView's visible content area. This enables a malicious or compromised renderer to anchor the trusted system Autofill UI (FillUI) outside the WebView's designated region, potentially overlapping native browser UI components.

Root Cause Analysis

The transformation of field coordinates from the renderer to the Android system lacks clipping at several stages:

  1. Mojo Traits: In components/autofill/core/common/mojom/autofill_types_mojom_traits.cc, the bounds are read from the renderer-supplied Mojo message without any range validation or viewport checks.
  2. Coordinate Lifting: In components/autofill/content/browser/content_autofill_driver.cc, the Lift function transforms coordinates from local frame space to the root frame space but does not intersect the resulting rectangle with the visible viewport.
  3. Android Provider (C++): In components/android_autofill/browser/android_autofill_provider.cc, the ToClientAreaBound method adds the container view's offset but does not validate if the field is actually visible.
  4. Java Implementation: The final conversion to screen-space coordinates occurs in AutofillProvider.java (lines 813-828). The transformToWindowBoundsWithOffsetY method performs scaling and translation based on the mContainerView's screen location but fails to clamp the resulting Rect to the mContainerView's boundaries.

Because of this, the Android AutofillManager can be notified of a "virtual view" entry at coordinates that lie outside the WebView. The system then displays the Autofill suggestion picker at those coordinates.

Potential Impact

The Android Autofill UI is a system-owned window and is trusted by the user. By positioning this UI outside the WebView, a malicious renderer could:

  • Spoof Primary Security UI: Overlap the browser's Omnibox or origin indicator to misrepresent the current site's identity.
  • Credential Tapjacking: Align Autofill suggestion rows with native UI buttons (e.g., a 'Cancel' or 'OK' button in the app). A user attempting to tap the native button might inadvertently select an Autofill suggestion, filling their credentials into an attacker-controlled form.

Suggested Reproduction Steps (Potential)

Note: These steps are based on code analysis; our tooling cannot currently execute them to provide a verified PoC.

  1. On an Android device, enable a third-party Autofill service.
  2. Load a malicious page where an <input> field is positioned at negative coordinates via CSS (e.g., position: fixed; top: -150px;).
  3. Programmatically focus the field or use a label to trigger focus.
  4. Observe that the system Autofill picker is displayed above the WebView, potentially overlapping the native browser toolbar.

Suggested Fix

The browser process must validate that the absBound passed to AutofillManager.notifyViewEntered is contained within the visible bounds of the WebView. This validation should ideally be implemented in AutofillProvider.java or android_autofill_provider.cc by intersecting the field bounds with the container's visible rectangle. If the field is entirely outside the visible area, the notification to the Android Autofill system should be suppressed.

Evaluated with Chrome root at commit: 1a8d40fc44df2088d5945c0bf53584038aa1614a


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.

The original report as published on the Chromium issue tracker. Images and videos are our own copies; raw HTML is shown as text. View it on Chromium issue tracker.

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 browser process does not clamp or intersect renderer-supplied form field coordinates with the WebView's visible area before passing them to the Android Autofill system.

Impact

A malicious renderer could spoof the browser's address bar or origin indicator, or perform credential tapjacking by aligning Autofill suggestions with native buttons, though the report notes these steps are based on code analysis and not yet verified.

What the attacker needed

Android device; third-party Autofill service enabled; malicious page with off-screen field

The fix

The browser process should validate that the field bounds are contained within the WebView's visible rectangle and suppress the Autofill notification if the field is entirely outside the visible area.

How it was found

  1. Enable a third-party Autofill service on an Android device.
  2. Load a page with an input field positioned at negative coordinates using CSS.
  3. Focus the field programmatically or via a label.
  4. Observe the Autofill picker appearing above the WebView, possibly overlapping the browser toolbar.

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 tap a form field on a phone, the system shows a suggestion box to fill in your details. This report says a malicious webpage could tell the browser the field is somewhere else on the screen, so the suggestion box appears over the browser's address bar or over a button. That could trick you into tapping a suggestion when you meant to tap something else.

What is UI spoofing?

The interface lies to the user: a framed page catches their clicks, or a browser shows the wrong address or a fake prompt. Paid when it leads to a sensitive action or convincing phishing.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Clickjacking and UI spoofing

The lesson behind this report.

The interface lies to the user: a framed page catches their clicks, or a browser shows the wrong address or a fake prompt. Paid when it leads to a sensitive action or convincing phishing.