Skip to content
Access control Advisory Advanced CVE-2026-13818

Inappropriate implementation in Passwords (CVE-2026-13818)

The origin guard in Chrome's Automated Password Change flow failed to filter empty strings from its set of affiliated domains, so an IP address origin was treated as affiliated. An attacker who could navigate the tab to an IP address they control could have the user's plaintext password autofilled into a mock form and read it.

Google Chrome

Originally disclosed on Chrome VRP

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

Overview: The CrossOriginNavigationObserver used in the Automated Password Change flow fails to filter empty strings from its affiliated domains set when processing Android app affiliations. This allows the origin guard to be bypassed if the page navigates to a non-registrable origin like an IP address. Consequently, the user's plaintext credentials can be autofilled into a form on an attacker-controlled IP origin.

Affected files:

  • chrome/browser/password_manager/password_change/cross_origin_navigation_observer.cc
  • chrome/browser/password_manager/password_change_delegate_impl.cc
  • chrome/browser/password_manager/password_change/change_password_form_waiter.cc
  • chrome/browser/password_manager/password_change/change_password_form_filling_submission_helper.cc

Estimated timestamp from git blame: 2025-09-30

Description

The CrossOriginNavigationObserver acts as the primary origin guard for the Automated Password Change (APC) flow. It is designed to abort the flow if the executor tab navigates away from the legitimate password change site or its affiliated domains. However, a logic flaw in how eTLD+1s are extracted and stored allows this guard to be bypassed, potentially leading to the disclosure of plaintext credentials.

When the observer initializes, it requests the site's affiliations. The ParseFacets function in cross_origin_navigation_observer.cc extracts the eTLD+1 for each affiliation using affiliations::GetExtendedTopLevelDomain().

If the site has an associated Android app (e.g., android://[email protected]), GetExtendedTopLevelDomain() delegates to net::registry_controlled_domains::GetDomainAndRegistry(). Because android:// is an opaque, non-standard scheme, its host is empty. GetDomainAndRegistry explicitly returns an empty string "" for empty hosts. These empty strings are blindly inserted into the affiliated_domains_ set, poisoning it.

Later, if the tab navigates, CrossOriginNavigationObserver::NavigationEntryCommitted() calls IsSameOrAffiliatedDomain() to verify the new URL. If the new URL is an IP address, GetExtendedTopLevelDomain() again returns an empty string "" (as GetDomainAndRegistry explicitly returns an empty string for IP literals via url::HostIsIPAddress).

Because the affiliated_domains_ set contains "", the observer incorrectly concludes the IP address is an affiliated domain and allows the flow to continue.

Potential Exploitation Steps

Note: These are suggested steps based on static analysis; our tooling agent does not run active code execution to build a live proof-of-concept.

  1. A user initiates the APC flow for a legitimate service that has an Android app affiliation (e.g., example.com).
  2. An attacker induces a navigation in the executor tab to an IP address they control (e.g., http://1.2.3.4). This could be achieved via an unpatched Open Redirect on example.com, or by manipulating the page DOM so that Chrome's APC mechanisms click a malicious link.
  3. The CrossOriginNavigationObserver evaluates the navigation, computes the IP address's eTLD+1 as "", finds "" in the affiliated_domains_ set, and fails to abort the flow.
  4. The attacker's server at 1.2.3.4 serves an HTML page containing a structural mock of a password change form.
  5. The still-active ChangePasswordFormWaiter detects the mock form. It does not perform secondary origin validation, relying entirely on the bypassed CrossOriginNavigationObserver.
  6. PasswordChangeDelegateImpl::OnPasswordChangeFormFound() receives the form and passes the user's plaintext password to ChangePasswordFormFillingSubmissionHelper::FillChangePasswordForm().
  7. The password is sent via Mojo IPC to the attacker's renderer process and autofilled into the mock form.
  8. Malicious JavaScript on the attacker's page reads the .value of the autofilled input element and exfiltrates the password.

Suggested Fix

  1. Filter Empty Strings: Update ParseFacets and/or CrossOriginNavigationObserver::OnAffiliationsReceived() to explicitly ignore and drop empty strings.
  2. Harden the Check: Update CrossOriginNavigationObserver::IsSameOrAffiliatedDomain() to immediately return false if the computed main_domain is empty, preventing any accidental matches against an empty string in the set.

Evaluated with Chrome root at commit: eca8648a4e1cdfdda68c495a6003059fed641955


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.

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 code that collects affiliated domains did not discard empty strings, and the later check treated an empty domain from an IP address as a match.

Impact

The user's plaintext password could be disclosed to an attacker-controlled origin; the report notes the exploitation steps are from static analysis and were not run as a live proof of concept.

What the attacker needed

Chrome automated password change flow; target site has an Android app affiliation; attacker can navigate the tab to an IP address; attacker controls that IP address

The fix

The report suggests dropping empty strings when affiliations are parsed and making the domain check return false when the computed domain is empty.

How it was found

  1. A user starts the automated password change flow for a site that has an Android app affiliation.
  2. An attacker causes the tab to navigate to an IP address they control, for example through an open redirect.
  3. The origin guard computes an empty domain for the IP address and finds that empty string in its set, so it does not stop the flow.
  4. The attacker's server serves a page that looks like a password change form.
  5. The form waiter finds the fake form and the password is autofilled into it.
  6. JavaScript on the attacker's page reads the autofilled value and sends it away.

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.

Chrome has a feature that helps you change a password automatically. It is supposed to stop if the page moves to a different website, but a mistake meant a page hosted on a raw number address (an IP address) was treated as the same site. That could let an attacker's page receive your old password in a form.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.