Skip to content
Access control Advisory Advanced CVE-2026-13871

Insufficient data validation in GuestView (CVE-2026-13871)

The RenderFrameHostChanged logic in GuestView fails to validate the new host's origin or process during cross-process navigations, allowing a compromised renderer to hijack an unattached GuestView. This lets an attacker bypass CanEmbedderAccessInstanceID and Site Isolation, retaining the original extension's privileged identity and storage partition.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 3 months

Project Fortify, an experimental security project, has identified the following potential security issue.

Overview: A compromised renderer can hijack an unattached GuestView to bypass Site Isolation and control an extension's storage partition. The RenderFrameHostChanged logic fails to validate the new host's origin or process during cross-process navigations. This allows an attacker to bypass CanEmbedderAccessInstanceID and attach the guest while retaining the original privileged identity.

Affected files:

  • components/guest_view/browser/guest_view_base.cc
  • components/guest_view/browser/guest_view_manager.cc
  • extensions/browser/guest_view/web_view/web_view_guest.cc

Estimated timestamp from git blame: 2025-11-04

Final Conclusion

A compromised renderer successfully hijacks an unattached GuestView by bypassing CanEmbedderAccessInstanceID, maintaining the original extension-keyed storage partition and bypassing Site Isolation.

Potential Attack Steps

Note: These are suggested steps; our tooling agent does not yet have the ability to run code.

  1. Initial logic and parameters for GuestView creation and owner_rfh_id_ assignment are validated.
  2. Standard processing applied for handling cross-process tab navigation to an attacker-controlled site.
  3. Standard processing applied for OwnerContentsObserver::RenderFrameHostChanged execution.
  4. Standard processing applied for Mojo interface binding (guest_view::mojom::GuestViewHost) and the AttachToEmbedderFrame Mojo invocation.
  5. Standard processing applied for GuestViewManager::CanEmbedderAccessInstanceID validation.
  6. Established context routes the flow to GuestViewBase::AttachToOuterWebContentsFrame.
  7. owner_web_contents() == embedder_web_contents evaluates to true; execution jumps directly to the else branch (owner_rfh_id_ = outer_contents_frame->GetParent()->GetGlobalId();), skipping UpdateWebContentsForNewOwner. The attacker attains full control over the GuestView, retaining the original extension's identity and isolated StoragePartition.

Suggested Fix

Modify GuestViewBase::OwnerContentsObserver::RenderFrameHostChanged to verify that the new_host belongs to the same process or shares the same origin as the old_host before updating guest_->owner_rfh_id_. Additionally, enforce stricter origin checks during the attachment process in AttachToOuterWebContentsFrame.

Evaluated with Chrome root at commit: a9cbf6e8b275fe4147435aa905f3b7f5a656f5f0


Results from 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 RenderFrameHostChanged handler does not verify that the new host belongs to the same process or origin as the old host before updating the owner's routing ID, and AttachToOuterWebContentsFrame lacks stricter origin checks.

Impact

A compromised renderer could bypass Site Isolation and control an extension's storage partition, potentially accessing privileged data.

What the attacker needed

Compromised renderer; cross-process navigation to attacker site

The fix

The fix should modify RenderFrameHostChanged to verify that the new host belongs to the same process or shares the same origin as the old host before updating the owner's routing ID, and enforce stricter origin checks during attachment.

How it was found

  1. Initial logic and parameters for GuestView creation and owner_rfh_id_ assignment are validated.
  2. Standard processing applied for handling cross-process tab navigation to an attacker-controlled site.
  3. Standard processing applied for OwnerContentsObserver::RenderFrameHostChanged execution.
  4. Standard processing applied for Mojo interface binding (guest_view::mojom::GuestViewHost) and the AttachToEmbedderFrame Mojo invocation.
  5. Standard processing applied for GuestViewManager::CanEmbedderAccessInstanceID validation.
  6. Established context routes the flow to GuestViewBase::AttachToOuterWebContentsFrame.

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.

A GuestView is a way for a web page to embed another page, like a mini browser inside a browser. The code that handles when the embedded page navigates to a new site did not check whether the new site was allowed, so a malicious page could take over the embedded view and pretend to be a trusted extension. This could let an attacker access data that should be isolated.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.