Skip to content
Misconfiguration Advisory Advanced CVE-2026-79250

UI misrepresentation in Navigation (CVE-2026-79250)

A logic error in Chromium's paint-holding mechanism allows an opener to modify a popup's initial empty document and then navigate it cross-origin, so that attacker-controlled content remains visible for up to 4 seconds while the omnibox shows the new URL. An attacker could use this for a transient visual URL spoof, though user input is suppressed during the period.

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. 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: A logic error in Chromium's paint-holding mechanism allows a transient cross-origin URL spoof when an opener modifies a popup's initial empty document. Attacker-controlled content can remain visible for up to 4 seconds while the omnibox shows a new, committed cross-origin URL. This occurs because DOM mutations on the initial document do not clear the 'initial empty document' status used for paint-holding exemptions.

Affected files:

  • content/browser/renderer_host/navigator.cc
  • content/browser/renderer_host/frame_tree_node.cc
  • content/browser/renderer_host/render_frame_host_manager.cc
  • content/browser/renderer_host/navigation_controller_impl.cc
  • content/browser/renderer_host/frame_tree.cc
  • content/browser/renderer_host/render_frame_host_impl.cc
  • content/browser/renderer_host/render_widget_host_impl.cc

Estimated timestamp from git blame: Unknown (Google3 checkout)

Summary

A potential vulnerability in Chromium's paint-holding mechanism allows for a transient visual URL spoof. When a window is opened via window.open(), the opener can modify the initial about:blank document (e.g., via innerHTML). If the popup is then navigated to a cross-origin URL without user activation, the browser's paint-holding logic inadvertently allows the attacker-controlled content to remain visible while the omnibox updates to the new, committed URL.

Technical Analysis

The issue stems from how Chromium tracks the state of the initial empty document across two different flags:

  1. FrameTreeNode::is_on_initial_empty_document_: Initialized to true. It is only cleared by document.open() or a non-blank navigation commit.
  2. FrameTree::has_accessed_initial_main_document_: Set to true when the initial document is scripted or modified.

In Navigator::DidNavigate() (content/browser/renderer_host/navigator.cc), the decision to permit paint-holding for a main-frame navigation depends on whether frame_tree_node->is_on_initial_empty_document() was true before the navigation committed. This check is intended to provide smooth transitions for new tabs but fails to account for cases where the 'empty' document was modified by its opener.

Because direct DOM mutations (like innerHTML) do not clear the is_on_initial_empty_document_ flag, Navigator::DidNavigate grants a paint-holding exemption even if the navigation is cross-origin and lacks user activation. This bypasses the security mitigation kLimitCrossOriginNonActivatedPaintHolding (content/common/features.cc), which is designed to prevent precisely this type of spoofing.

When the navigation commits:

  1. RenderFrameHostManager::CommitPending() captures the modified about:blank surface as 'fallback content'.
  2. the omnibox updates to the new committed URL.
  3. RenderWidgetHostImpl displays the attacker's pixels for up to 4 seconds (the kNewContentRenderingDelay timeout) or until the new page renders its first frame.

User input is suppressed during this period via RenderWidgetHostImpl::InitializePaintHolding(true), so the impact is limited to a visual spoof and cannot be used for direct interaction attacks (like clickjacking).

Potential Reproduction Steps

  1. Serve a page on https://attacker.example that opens a popup: const p = window.open();.
  2. Modify the popup content: p.document.body.innerHTML = '<h1>Logged out of bank.example. Re-enter password.</h1>';.
  3. Navigate the popup cross-origin: p.location = 'https://bank.example/login';.
  4. Observe that after the navigation commits, the omnibox shows https://bank.example/login while the content area still shows the attacker's message.

Suggested Fix

The paint-holding decision in Navigator::DidNavigate() should be updated to ensure that the exemption for the initial empty document is only granted if the document has not been modified. This can be achieved by checking frame_tree.has_accessed_initial_main_document() in addition to is_on_initial_empty_document() when evaluating allow_main_frame_paint_holding.

Evaluated with Chrome root at commit: 1a8d40fc44df2088d5945c0bf53584038aa1614a


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

Likely the paint-holding exemption checks only whether the frame is on the initial empty document, not whether that document was modified by its opener, so DOM mutations do not clear the flag.

Impact

The impact is limited to a transient visual spoof for up to 4 seconds, because user input is suppressed during paint-holding and direct interaction attacks such as clickjacking are not possible.

What the attacker needed

Victim visits attacker page; popup opened without user activation; cross-origin navigation

The fix

The paint-holding decision should also check whether the initial main document was accessed, so the exemption is only granted for unmodified initial empty documents.

How it was found

  1. Serve a page that opens a popup with window.open().
  2. Modify the popup's body content via innerHTML.
  3. Navigate the popup to a cross-origin URL.
  4. Observe the omnibox showing the new URL while the attacker's message remains visible.

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 open a new window with JavaScript, it starts as a blank page that the opener can still edit. Chromium normally keeps the old page visible briefly during navigation to avoid a white flash, but it should not do so when the new page is from a different site and the user did not click anything. Here, because the blank page was edited, the browser wrongly kept the attacker's text on screen while the address bar showed the real bank's address, which could trick someone into thinking the bank itself displayed that message.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.