Inappropriate implementation in Chrome for iOS (CVE-2026-17826)
Chrome for iOS's Reading List background download service performs a top-level navigation to URLs added via the Share Extension, attaching SameSite cookies. A malicious app or website could trick a user into sharing a state-changing GET URL, causing a silent authenticated request.
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: Chrome for iOS's system Share Extension allows third-party apps to add arbitrary URLs to the Reading List. When a URL is added via this extension, the Reading List background download service immediately executes a top-level, browser-initiated navigation of the URL in a hidden, profile-backed WebState. This causes both SameSite=Strict and SameSite=Lax cookies to be automatically attached to the request, allowing potential background CSRF attacks without any user visual feedback.
Affected files:
ios/chrome/browser/reading_list/model/reading_list_download_service.mmios/chrome/browser/share_extension/model/reading_list_adder.mmcomponents/dom_distiller/ios/distiller_page_ios.mmios/chrome/browser/share_extension/model/share_extension_controller.mm
Estimated timestamp from git blame: 2025-07-29
Potential Root Cause
When a user shares a URL from a third-party application and selects Chrome → Add to Reading List via the native iOS share sheet, the shared payload is written to the shared App Group directory (app_group::ExternalCommandsItemsFolder()).
In the main Chrome app, ShareExtensionController (ios/chrome/browser/share_extension/model/share_extension_controller.mm) detects and parses the shared file, eventually dispatching the URL addition to the ReadingListModel via the ReadingListAdder helper class with the entry source set to reading_list::ADDED_VIA_EXTENSION.
Following insertion into the model, the ReadingListDownloadService receives the observer notification in ReadingListDidAddEntry (ios/chrome/browser/reading_list/model/reading_list_download_service.mm, line 123). However, the service completely ignores the source parameter and schedules an immediate background distillation:
void ReadingListDownloadService::ReadingListDidAddEntry(
const ReadingListModel* model, const GURL& url,
reading_list::EntrySource source) {
DCHECK_EQ(reading_list_model_, model);
ProcessNewEntry(url); // `source` is ignored; ADDED_VIA_EXTENSION is not gated
}
During background distillation, DistillerPageIOS::DistillPageImpl (components/dom_distiller/ios/distiller_page_ios.mm, line 97) creates or retrieves a hidden web::WebState (wrapping a viewless WKWebView) configured with the user's regular profile (browser_state_). It then performs a top-level, browser-initiated navigation of the target URL using LoadURLWithParams:
distilling_navigation_ = true;
web::NavigationManager::WebLoadParams params(url_);
web_state_->SetKeepRenderProcessAlive(true);
web_state_->GetNavigationManager()->LoadURLWithParams(params);
web_state_->GetNavigationManager()->LoadIfNecessary();
Because this hidden WKWebView navigation is browser-initiated and top-level, WebKit/WKWebView treats the request as a first-party navigation. SameSite cookie restrictions (designed to block cookies on third-party cross-site requests) do not apply, and both SameSite=Strict and SameSite=Lax cookies are attached automatically to the outgoing request.
Potential Security Impact
- Potential SameSite-Cookie CSRF: A malicious third-party iOS app or website (using the Web Share API) can trick a user into sharing a state-changing GET-reachable URL to Chrome's Reading List. Chrome's background service will immediately and silently execute a credentialed GET request to the target site using the user's authenticated session.
- Potential Authenticated Content Leak: The distilled HTML of the response is stored locally in Chrome's offline cache. While the iOS sandbox prevents other apps from directly accessing this directory, it caches sensitive authenticated user data in a local database without explicit user interaction within Chrome.
Potential Steps to Reproduce
Note: These are suggested/potential steps to reproduce the issue, as our tooling agent does not have the ability to run code or verify the proof of concept in a live environment.
- Install an iOS application or host a web page that invokes the native iOS share sheet (via
UIActivityViewControllerornavigator.share) with a state-changing GET endpoint targeting a victim site (e.g.,https://victim.example/account/action?parameter=value). - On a device where the user is currently authenticated on the victim site in Chrome, open the helper app, trigger the share sheet, select Chrome, and choose Add to Reading List.
- Observe that Chrome silently dispatches a top-level GET request in the background to the victim site carrying the user's session cookies (including
SameSite=Strict).
Suggested Fix
To prevent background CSRF attacks via shared Reading List entries, consider the following remedies:
- Update
ReadingListDownloadService::ReadingListDidAddEntryto check thesourceparameter and avoid scheduling immediate background downloads/distillation for entries added viaADDED_VIA_EXTENSION. - Alternatively, persist the
sourceproperty onReadingListEntryand defer the distillation/download process until the user explicitly opens Chrome and initiates viewing the entry in the foreground.
Evaluated with Chrome root at commit: 5133b93d189b383c37805b1cf3a9d2dbfe8d7379
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
Likely the Reading List download service ignores the entry source and immediately performs a browser-initiated top-level navigation in a hidden WebState, which WebKit treats as first-party and therefore attaches SameSite cookies.
Impact
A malicious app or website could cause a silent authenticated GET request to a target site, potentially performing state-changing actions or leaking authenticated content into Chrome's local cache; the report notes these are potential impacts and the steps were not verified in a live environment.
What the attacker needed
Victim logged in to target site in Chrome; victim uses share sheet to add URL; target has state-changing GET endpoint
The fix
The report suggests checking the entry source to avoid immediate background downloads for entries added via the extension, or deferring distillation until the user explicitly opens the entry.
How it was found
- Create an iOS app or web page that opens the share sheet with a state-changing GET URL.
- On a device where the user is logged in to the target site in Chrome, trigger the share sheet and choose Chrome → Add to Reading List.
- Observe Chrome silently sending a top-level GET request with the user's session cookies, including SameSite=Strict.
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 add a link to Chrome's Reading List, Chrome quietly loads that page in the background to save it for offline reading. Because this background load looks like a normal first-party visit, the browser sends your login cookies for that site, even cookies marked to be sent only on direct visits. An attacker could abuse this to make your browser perform actions on a site where you are logged in, without you seeing anything.
What is CSRF?
Another site makes a signed-in user's browser perform an action they did not intend.