Inappropriate implementation in Sharing (CVE-2026-13932)
The LinkToTextCoordinator in Chrome for Android fails to cancel pending text selector requests when a renderer-initiated navigation occurs. A compromised renderer could navigate to a victim site and respond to the request, causing the browser to leak the victim's canonical URL and title into the share sheet.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 48 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: LinkToTextCoordinator fails to cancel pending text selector requests during renderer-initiated navigations. A compromised renderer can trigger a navigation to a victim site and fulfill the request, causing the browser to leak the victim's canonical URL and title into the share sheet.
Affected files:
chrome/browser/share/android/java/src/org/chromium/chrome/browser/share/link_to_text/LinkToTextCoordinator.javachrome/browser/share/android/java/src/org/chromium/chrome/browser/share/link_to_text/LinkToTextHelper.java
Estimated timestamp from git blame: 2025-10-31
Vulnerability Details
A potential cross-origin information leak exists in the LinkToTextCoordinator component of Chrome for Android. This component manages the "Link to Text" feature, which generates a specific URL fragment for selected text when a user initiates a "Share" action.
When a share is started, the browser requests a text selector from the renderer via the TextFragmentReceiver Mojo interface. If a navigation occurs before the renderer responds, the in-flight request should be cancelled to prevent the selector or the resulting metadata from being associated with a different page.
However, LinkToTextCoordinator.onDidStartNavigationInPrimaryMainFrame contains a check that only cancels the request if the navigation's transition type is TYPED (e.g., a URL entered in the omnibox). Renderer-initiated navigations, such as link clicks or script-based navigations, do not trigger a cancellation.
If a compromised renderer initiates a cross-origin navigation to a victim page and subsequently sends a RequestSelector response before the 100ms timeout, the browser-side handler onRemoteRequestCompleted will execute. This handler calls LinkToTextHelper.requestCanonicalUrl, which retrieves the canonical URL of the current primary main frame. If the navigation to the victim page has committed, the browser will fetch the victim's canonical URL and the current tab title (the victim's title) and use them to populate the Android share sheet.
Root Cause Analysis
- Insufficient Cancellation Logic: In
LinkToTextCoordinator.java, theonDidStartNavigationInPrimaryMainFramemethod ignores non-TYPEDnavigations:Java @Override public void onDidStartNavigationInPrimaryMainFrame(Tab tab, NavigationHandle navigationHandle) { if ((navigationHandle.pageTransition() & PageTransition.CORE_MASK) != PageTransition.TYPED) { return; // Renderer-initiated navigations are not cancelled } // ... } - Late Binding of Frame:
LinkToTextHelper.requestCanonicalUrlresolves the main frame at the time of the callback rather than binding to the specific frame that initiated the share request.
Potential Impact
An attacker with control over a renderer process could leak the canonical URL and document title of a cross-origin victim site. This metadata is exposed in the Android share sheet UI and can be exfiltrated if the user completes the share action to an external target. This constitutes a bypass of the Same-Origin Policy for page metadata.
Potential Steps to Reproduce
(Note: These steps are based on code analysis and have not been verified with a live exploit.)
- From a compromised renderer on
https://attacker.example, wait for the user to select text and trigger the Share action. - Upon receiving the
RequestSelectorMojo call from the browser, initiate a navigation tohttps://victim.example. - Ensure the navigation commits within the 100ms timeout (e.g., by utilizing prerendering or high-speed navigation).
- Respond to the
RequestSelectorMojo call with a spoofed selector. - Observe that the Android share sheet displays the title and canonical URL of
https://victim.exampleinstead of the original attacker page.
Suggested Fix
Modify LinkToTextCoordinator.onDidStartNavigationInPrimaryMainFrame to cancel the pending request for all cross-document navigations, regardless of the transition type. Additionally, the metadata (canonical URL and title) should be retrieved from the RenderFrameHost that was active when the share was initiated, rather than resolving the current main frame at completion time.
Evaluated with Chrome root at commit: b3153093eb3c78c3e88ccf562bcbc20437a04b0e
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.
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
The navigation cancellation check only handles TYPED transitions, and the canonical URL is resolved from the current main frame at callback time rather than the frame that initiated the share.
Impact
An attacker with control over a renderer process could leak the canonical URL and document title of a cross-origin victim site, which may be exfiltrated if the user completes the share action.
What the attacker needed
Compromised renderer; user selects text and shares; navigation commits within 100ms
The fix
The pending request should be cancelled for all cross-document navigations regardless of transition type, and metadata should be retrieved from the RenderFrameHost active at share initiation.
How it was found
- From a compromised renderer, wait for the user to select text and trigger the Share action.
- Upon receiving the RequestSelector Mojo call, initiate a navigation to the victim site.
- Ensure the navigation commits within the 100ms timeout.
- Respond to the RequestSelector Mojo call with a spoofed selector.
- Observe that the share sheet displays the victim's title and canonical URL.
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 share selected text from a web page, Chrome asks the page for a special link. If the page changes to a different site before Chrome gets the answer, Chrome should ignore the old request. Here, Chrome only ignores the request if the user typed a new address, not if the page itself navigated, so a malicious page could trick Chrome into showing the new site's title and address in the share menu.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.