Skip to content
Business logic Advisory Advanced CVE-2026-95294

UI misrepresentation in Browser (CVE-2026-95294)

A logic error in the quiet permission UI model causes the bubble's action to be computed from the current permission request rather than the one it was created for. In installed PWA windows, a stale bubble can remain open after a request swap, so clicking a button intended to block one request may instead grant a different permission.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 4 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 the quiet permission UI model allows for permission-decision spoofing in installed PWAs. When a new permission request preempts an existing one, the PWA's stale permission bubble remains open, causing user interactions with it to be applied to the new, unrelated request.

Affected files:

  • chrome/browser/ui/content_settings/content_setting_bubble_model.cc
  • chrome/browser/ui/views/location_bar/content_setting_image_view.cc
  • components/permissions/permission_request_manager.cc
  • chrome/browser/ui/views/permissions/permission_prompt_factory.cc
  • chrome/browser/ui/views/permissions/permission_prompt_quiet_icon.cc
  • chrome/browser/ui/views/content_setting_bubble_contents.cc

Estimated timestamp from git blame: 2021-08-09

Summary

A logic error in ContentSettingQuietRequestBubbleModel::OnDoneButtonClicked combined with a lifecycle management issue in PWA windows allows for potential permission-decision spoofing. Specifically, the bubble's action is computed by re-reading the PermissionRequestManager state at the moment of a click, rather than acting on the specific request the bubble was created for. In PWA windows, unlike standard browser tabs, this bubble is not automatically closed when the underlying permission request is swapped or preempted.

Root Cause

The vulnerability resides in ContentSettingQuietRequestBubbleModel::OnDoneButtonClicked (found in chrome/browser/ui/content_settings/content_setting_bubble_model.cc). This method re-evaluates the active permission request and its 'quiet UI reason' at the time of the button click:

C++
void ContentSettingQuietRequestBubbleModel::OnDoneButtonClicked() {
  permissions::PermissionRequestManager* manager =
      permissions::PermissionRequestManager::FromWebContents(web_contents());
  // ...
  auto quiet_ui_reason = manager->ReasonForUsingQuietUi();
  const permissions::PermissionRequest& request = *manager->Requests()[0];
  // ...
  switch (*quiet_ui_reason) {
    case QuietUiReason::kEnabledInPrefs:
    // ... other reasons ...
      manager->Accept(/*prompt_options=*/std::monostate());
      break;
    case QuietUiReason::kTriggeredDueToAbusiveRequests:
    // ... other abusive reasons ...
      manager->Deny(/*prompt_options=*/std::monostate());
      break;
  }
}

While the button labels are configured during construction based on the initial request (e.g., "Continue blocking" for abusive notification requests), the final action depends on whatever request is active in the PermissionRequestManager (PRM) when the button is clicked.

In standard browser tabs, the ChipController observes the PRM and explicitly closes the permission bubble if the request is finalized or preempted. However, in an installed PWA window, the UI follows a different path through PermissionPromptQuietIcon and ContentSettingImageView. This path lacks a PRM observer to close the bubble when the underlying request changes. Consequently, if a new permission request is made while the quiet UI bubble is open, the PRM swaps the requests, but the stale bubble remains visible.

Potential Attack Scenario

  1. Preparation: A user installs a PWA from an attacker's origin. The origin is flagged for abusive notifications, or the user has enabled quiet permission prompts in settings.
  2. Triggering R1: The PWA requests notification permissions. A quiet UI icon appears in the PWA toolbar.
  3. User Interaction: The user clicks the icon, opening a bubble. The bubble's "Done" button is labeled "Continue blocking" (due to the abusive notification status).
  4. Request Swap (R2): Before the user clicks, the page triggers a second permission request (e.g., Geolocation) that also qualifies for quiet UI (e.g., via prediction services or lack of user gesture).
  5. State Change: The PRM preempts the notification request (R1) with the geolocation request (R2). The stale bubble remains open in the PWA window, and its anchor icon may be hidden or replaced.
  6. Spoofing Execution: The user clicks "Continue blocking". OnDoneButtonClicked() re-reads the PRM state, finds the Geolocation request (R2), and calls manager->Accept() because the reason for R2 (e.g., lack of gesture) is handled via the Accept() path.

As a result, Geolocation is granted to the origin despite the user intending to "Continue blocking" a notification request.

Suggested Fix

  1. The ContentSettingQuietRequestBubbleModel should store the unique ID or the specific RequestType and QuietUiReason it was initialized with and verify that the current request in the PermissionRequestManager still matches these parameters before taking an action.
  2. Alternatively, the PWA UI components (such as WebAppContentSettingsContainer or ContentSettingImageView) should observe the PermissionRequestManager and ensure any open bubbles are closed when the active request is preempted or finalized, similar to the ChipController implementation.

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

The quiet permission bubble re-reads the active permission request and its quiet UI reason when the button is clicked instead of remembering the request it was created for, and the PWA prompt path lacks an observer to close the bubble when the request is preempted.

Impact

Geolocation could be granted to the origin even though the user intended to continue blocking a notification request; the report describes this as a potential issue and does not demonstrate it in practice.

What the attacker needed

User installs a PWA from the attacker's origin; origin flagged for abusive notifications or quiet prompts…; user clicks the quiet UI icon and then the button; a second quiet-eligible permission request is triggered

The fix

The bubble model should store the request type and quiet UI reason it was created with and verify they still match before acting, or the PWA UI should observe the permission manager and close stale bubbles.

How it was found

  1. Install a PWA from an origin flagged for abusive notifications or with quiet prompts enabled.
  2. The PWA requests notification permission, showing a quiet UI icon in the toolbar.
  3. The user clicks the icon to open a bubble labelled to continue blocking.
  4. The page triggers a second permission request such as geolocation that also qualifies for quiet UI.
  5. The permission manager preempts the first request, but the stale bubble remains open.
  6. The user clicks the block button, and the geolocation request is accepted instead.

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 a website asks for a permission such as notifications or location, the browser shows a small prompt. This report found that in installed web apps the prompt can stay on screen after the original request has been replaced by a different one. If the user then clicks the button, the browser may apply that click to the new request, so a button labelled to block notifications could end up allowing location access.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.