Skip to content
CSRF Advisory Advanced CVE-2026-17842

Inappropriate implementation in Chrome for iOS (CVE-2026-17842)

Adding a link to the Reading List in Chrome for iOS triggers a background distillation load in a hidden WKWebView that is treated as browser-initiated, so it attaches SameSite=Strict/Lax cookies and sends Sec-Fetch-Site: none. An attacker could use this to perform cross-origin GET-based CSRF against sites relying on those defences.

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: Adding a link to the Reading List in Chrome for iOS triggers background distillation of the target URL in a hidden, profile-keyed WKWebView. Because the background load parameters default to being browser-initiated, WKWebView includes SameSite=Strict/Lax cookies and transmits 'Sec-Fetch-Site: none' headers. This creates a potential SameSite cookie and Fetch Metadata bypass allowing cross-origin GET-based CSRF.

Affected files:

  • ios/chrome/browser/context_menu/ui_bundled/context_menu_configuration_provider.mm
  • ios/chrome/browser/reading_list/model/reading_list_browser_agent.mm
  • ios/chrome/browser/reading_list/model/reading_list_download_service.mm
  • components/dom_distiller/ios/distiller_page_ios.mm
  • ios/chrome/browser/reading_list/model/url_downloader.mm

Estimated timestamp from git blame: 2025-02-25

Potential Problem Description

When a user long-presses a hyperlink on a webpage in Chrome for iOS and selects Add to Reading List, the target URL is processed and subsequently distilled in the background to be saved for offline reading. This distillation process is carried out in a hidden, profile-keyed WebState wrapping a WKWebView under the user's active session profile.

Because the distillation load is initiated by a background browser service, the load parameters are configured with is_renderer_initiated = false by default, and no cross-origin referrer or initiator is supplied. Consequently, the underlying WKWebView treats the request as a first-party, browser-initiated top-level navigation. This attaches the user's active session cookies (including those marked SameSite=Strict and SameSite=Lax) and transmits Sec-Fetch-Site: none headers, bypassing standard web platform defenses designed to protect against cross-site request forgery (CSRF).


Root Cause Analysis

  1. URL Ingestion: In ios/chrome/browser/context_menu/ui_bundled/context_menu_configuration_provider.mm, the URL is retrieved from the page DOM via the context menu helper and passed directly to the ReadingListBrowserAgent:

    OBJC
    ReadingListAddCommand* command =
        [[ReadingListAddCommand alloc] initWithURL:linkURL title:innerText];
    readingListBrowserAgent->AddURLsToReadingList(command.URLs);
    
  2. Background Distillation Dispatch: The addition of the URL triggers ReadingListDownloadService::ReadingListDidAddEntry in ios/chrome/browser/reading_list/model/reading_list_download_service.mm, which schedules an immediate download.

  3. Vulnerable Load Request: The actual request is loaded in components/dom_distiller/ios/distiller_page_ios.mm inside DistillerPageIOS::DistillPageImpl:

    C++
    web::NavigationManager::WebLoadParams params(url_);
    web_state_->SetKeepRenderProcessAlive(true);
    web_state_->GetNavigationManager()->LoadURLWithParams(params);
    

    As defined in ios/web/public/navigation/navigation_manager.h, the WebLoadParams struct is declared with bool is_renderer_initiated = false; by default. Because no initiator/referrer is specified, WKWebView treats this load as browser-initiated, attaching SameSite=Strict session cookies and sending Sec-Fetch-Site: none.


Potential Attack Scenario & Steps to Trigger

Note: The following steps are potential and theoretical, as our tooling agent does not have the capability to run code or verify the exploit live.

  1. A victim navigates to an attacker-controlled website containing a malicious link such as: <a href="https://target.example/api/state-changing-action?parameter=value">Interesting Article</a> (Where target.example relies on SameSite=Strict cookies or Fetch Metadata for protection).
  2. The attacker uses social engineering to trick the user into long-pressing the link and selecting Add to Reading List (e.g., 'Save this article to read offline later').
  3. The background service immediately triggers a request to target.example inside the hidden WKWebView.
  4. The request carries the victim's authenticated SameSite=Strict cookies and Sec-Fetch-Site: none headers, executing the state-changing action silently.

Suggested Fix

To remediate this issue, consider implementing one of the following mitigations:

  1. Use an Ephemeral Data Store: Since the purpose of distillation is simply to extract readable text, the background distillation WKWebView should load pages in an unauthenticated, ephemeral (incognito-like) WKWebsiteDataStore partition. This completely prevents the transmission of any user session cookies during distillation.
  2. Set Renderer-Initiated Flags: If distillation must occur in the regular profile context, ensure that is_renderer_initiated is set to true when the distillation is triggered by a web page, and provide the correct cross-origin initiator metadata.

Evaluated with Chrome root at commit: fb72408a8493c46bc75fae1c70d03daec96b3040


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

The background distillation load is created with is_renderer_initiated set to false and no initiator or referrer, so WKWebView treats it as a first-party browser-initiated navigation and attaches SameSite cookies while sending Sec-Fetch-Site: none.

Impact

An attacker could perform cross-origin GET-based CSRF against sites that rely on SameSite cookies or Fetch Metadata, but the report notes the steps are theoretical and were not verified live.

What the attacker needed

Chrome for iOS; Victim logged in to the target site; Victim long-presses a link and adds it to Reading List; Target uses SameSite or Fetch Metadata defences

The fix

The distillation WKWebView should load pages in an ephemeral, unauthenticated data store, or set is_renderer_initiated to true with correct cross-origin initiator metadata when triggered by a web page.

How it was found

  1. The victim visits an attacker-controlled page containing a link to a target that relies on SameSite=Strict cookies or Fetch Metadata.
  2. The attacker socially engineers the victim into long-pressing the link and choosing Add to Reading List.
  3. The background service immediately requests the target URL inside the hidden WKWebView.
  4. The request carries the victim's authenticated SameSite=Strict cookies and Sec-Fetch-Site: none, silently executing the state-changing action.

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 save a link to the Reading List, Chrome quietly loads that page in the background to extract the article text. Because that background load looks like it came from the browser itself rather than from a website, it carries your logged-in cookies and tells the target site the request is not cross-site. An attacker could trick you into saving a link that performs an action on another site where you are logged in.

What is CSRF?

Another site makes a signed-in user's browser perform an action they did not intend.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site request forgery (CSRF)

The lesson behind this report.

Another site makes a signed-in user's browser perform an action they did not intend.