Skip to content
Misconfiguration Advisory Intermediate CVE-2026-17792

Inappropriate implementation in Credential Management (CVE-2026-17792)

The Android Digital Credentials safety interstitial builds its prompt text from the initiator origin, but the formatting helper returns an empty string for opaque or null origins such as a sandboxed iframe. An attacker could therefore trigger an identity request whose requester name is blank, so the user may wrongly assume the request comes from the top-level site shown in the address bar.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 2 months

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: The Android Digital Credentials safety interstitial fails to display the requester's origin when initiated from an opaque or null origin, such as a sandboxed iframe. This results in a malformed prompt (' wants to use personal info...') that can lead to user confusion or misattribution of the identity request.

Affected files:

  • components/external_intents/android/java/src/org/chromium/components/external_intents/ExternalNavigationHandler.java
  • components/external_intents/android/java/src/org/chromium/components/external_intents/ExternalNavigationParams.java
  • components/url_formatter/android/java/src/org/chromium/components/url_formatter/UrlFormatter.java
  • content/public/android/java/src/org/chromium/content_public/browser/NavigationHandle.java

Estimated timestamp from git blame: 2025-10-01

Summary

On Chrome for Android, the Digital Credentials safety interstitial (used for both the Digital Credentials Web API and identity-related external protocol intents like mdoc://) fails to correctly attribute the requester when the initiator has an opaque or null origin. This leads to a UI where the requester's name is blank, potentially causing users to misattribute the request to the top-level site currently visible in the omnibox.

Root Cause

The issue exists in both the intent-interception flow and the Web API bridge flow on Android.

  1. Intent Interception: In ExternalNavigationHandler.java, the dialog text is constructed using the initiator origin:

    Java
    // components/external_intents/android/java/src/org/chromium/components/external_intents/ExternalNavigationHandler.java
    Origin origin = mParams.getInitiatorOrigin();
    String bodyText = mContext.getString(
            R.string.digital_identity_interstitial_low_risk_dialog_text,
            UrlFormatter.formatOriginForSecurityDisplay(origin, SchemeDisplay.OMIT_CRYPTOGRAPHIC));
    
  2. Web API Flow: In DigitalIdentitySafetyInterstitialController.java, a similar pattern is used:

    Java
    // chrome/browser/ui/android/digital_credentials/java/src/org/chromium/chrome/browser/ui/android/digital_credentials/DigitalIdentitySafetyInterstitialController.java
    String bodyText = context.getString(
            bodyTextResourceId,
            UrlFormatter.formatOriginForSecurityDisplay(mOrigin, SchemeDisplay.OMIT_CRYPTOGRAPHIC));
    

In both cases, UrlFormatter.formatOriginForSecurityDisplay() returns an empty string ("") for opaque origins. This is because the underlying C++ implementation in components/url_formatter/elide_url.cc returns an empty string if both the scheme and host are empty, which is the case for opaque origins.

Consequently, the rendered message becomes: " wants to use personal info from your digital wallet."

This behavior diverges from the security hardening applied to the Desktop implementation for external protocols (chrome/browser/external_protocol/external_protocol_handler.cc), which explicitly handles opaque initiators by resolving them to their precursor tuple before display.

Potential Attack Scenario

An attacker can potentially exploit this to hide the identity of the requester:

  1. A user visits https://attacker.example, which contains a sandboxed iframe: <iframe sandbox="allow-scripts allow-top-navigation-by-user-activation" srcdoc="<a href='mdoc://...'>Verify Identity</a>"></iframe>.
  2. The iframe document is assigned an opaque origin by the browser.
  3. Upon user interaction (e.g., clicking the link), a top-level navigation to a digital credential intent is triggered.
  4. The Chrome safety interstitial appears, but the requester name is blank.
  5. The user, seeing the top-level site attacker.example in the omnibox, may be misled into believing the identity request is legitimately initiated by that site, rather than an anonymous subframe.

Suggested Fix

Modify the Android implementation to resolve opaque origins to their precursor tuple before formatting them for display. If the origin is opaque, the system should ideally use GetTupleOrPrecursorTupleIfOpaque().GetURL() (or its Java equivalent) to provide meaningful attribution to the user.

Note: These steps and analysis are based on manual code review; a functional Proof of Concept has not yet been executed.

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 origin-formatting helper returns an empty string when both scheme and host are empty, and the Android code passes opaque origins straight into it without resolving them to their precursor tuple as the desktop code does.

Impact

A user could be misled into believing an identity request was initiated by the site visible in the omnibox rather than an anonymous subframe; the text notes no proof of concept was executed.

What the attacker needed

Victim visits attacker page; victim clicks a link in a sandboxed iframe; Chrome for Android

The fix

The Android code should be changed to resolve opaque origins to their precursor tuple before formatting them for display, as the desktop implementation already does.

How it was found

  1. The attacker hosts a page containing a sandboxed iframe whose content includes a link to a digital credential scheme.
  2. The browser gives the iframe document an opaque origin.
  3. The user clicks the link, which triggers a top-level navigation to the credential intent.
  4. The safety interstitial appears with a blank requester name while the attacker's site stays visible in the address bar.

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 Chrome to open a digital wallet or identity app, Chrome shows a warning box naming the site making the request. If that request comes from a hidden embedded page with no real address (a 'sandboxed iframe'), the name comes out blank. The user then only sees the site in the address bar and may think that site made the request, which it did not.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.