Skip to content
Business logic Advisory Intermediate CVE-2026-11243

Incorrect security UI in Downloads (CVE-2026-11243)

A bitwise logic error in Chrome's insecure download blocking causes certain navigation types (form submissions, subframes) to be misclassified as mixed content, downgrading a silent block to a bypassable warning. An attacker could trick a user into downloading a malicious file over HTTP from an HTTPS page.

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.

Overview: A bitwise logic error in insecure download blocking incorrectly evaluates PageTransition core values as bitmasks rather than sequential integers. This causes attacker-controlled navigations (like form submissions or subframes) to incorrectly bypass mixed-content checks. Consequently, an intended hard block (SILENT_BLOCK) for dangerous files is downgraded to a bypassable UI warning (BLOCK).

Affected files:

  • chrome/browser/download/insecure_download_blocking.cc
  • ui/base/page_transition_types.h

Estimated timestamp from git blame: 2022-12-29

Description

There is a potential security downgrade in Chrome's mixed-content download blocking logic.

In chrome/browser/download/insecure_download_blocking.cc, the InsecureDownloadData constructor determines if a download should be exempt from mixed-content blocking by checking its transition_type against several ui::PageTransition values using bitwise AND (&) operations:

C++
    if (download_source == DownloadSource::RETRY ||
        (transition_type & ui::PAGE_TRANSITION_RELOAD) ||
        (transition_type & ui::PAGE_TRANSITION_TYPED) ||
        // ...

However, as defined in ui/base/page_transition_types.h, the core PageTransition values (like PAGE_TRANSITION_TYPED = 1, PAGE_TRANSITION_AUTO_SUBFRAME = 3, PAGE_TRANSITION_AUTO_TOPLEVEL = 6, and PAGE_TRANSITION_FORM_SUBMIT = 7) are sequential integers, not mutually exclusive bitmasks. The core transition type is stored in the lower 8 bits (mask 0xFF).

Because of this, any core transition type that shares bits with the checked values will incorrectly evaluate to true. For example:

  • A form submission (PAGE_TRANSITION_FORM_SUBMIT, value 7) bitwise-ANDed with PAGE_TRANSITION_TYPED (value 1) evaluates to 1 (truthy).
  • An automatic subframe navigation (PAGE_TRANSITION_AUTO_SUBFRAME, value 3) bitwise-ANDed with PAGE_TRANSITION_TYPED (value 1) evaluates to 1 (truthy).

When this evaluates to true, is_mixed_content_ is incorrectly set to false. Later in GetInsecureDownloadStatusForDownload(), if is_insecure_download_ is true but is_mixed_content_ is false, the function early-returns InsecureDownloadStatus::BLOCK. This skips the stricter mixed-content logic that would otherwise return InsecureDownloadStatus::SILENT_BLOCK for dangerous file types.

Potential Attacker Steps

Note: These are potential steps to trigger the vulnerability, as our tooling agent does not have the ability to run code to produce a working PoC.

  1. An attacker sets up an HTTPS-hosted webpage that they control.
  2. The attacker embeds an iframe with a src pointing to a malicious executable payload hosted on an insecure HTTP origin (e.g., http://attacker.com/malware.exe), OR uses an HTML form targeting the same HTTP URL.
  3. The victim visits the HTTPS page. The iframe attempts to load, or the victim is tricked into submitting the form.
  4. The navigation is converted into a download. The download inherits the transition type PAGE_TRANSITION_AUTO_SUBFRAME (3) or PAGE_TRANSITION_FORM_SUBMIT (7).
  5. Due to the bitwise logic error (3 & 1 == 1 or 7 & 1 == 1), Chrome incorrectly flags is_mixed_content_ = false.
  6. The download is flagged as BLOCK instead of SILENT_BLOCK. The user sees a visible "Keep / Discard" warning and can bypass the mixed-content protection to save the malware.

Suggested Fix

Replace the bitwise AND operations for core transition types with the ui::PageTransitionCoreTypeIs() helper function, which correctly masks and compares the core type.

C++
    if (download_source == DownloadSource::RETRY ||
        ui::PageTransitionCoreTypeIs(transition_type, ui::PAGE_TRANSITION_RELOAD) ||
        ui::PageTransitionCoreTypeIs(transition_type, ui::PAGE_TRANSITION_TYPED) ||
        ui::PageTransitionCoreTypeIs(transition_type, ui::PAGE_TRANSITION_FROM_ADDRESS_BAR) ||
        ui::PageTransitionCoreTypeIs(transition_type, ui::PAGE_TRANSITION_FORWARD_BACK) ||
        ui::PageTransitionCoreTypeIs(transition_type, ui::PAGE_TRANSITION_AUTO_TOPLEVEL) ||
        ui::PageTransitionCoreTypeIs(transition_type, ui::PAGE_TRANSITION_AUTO_BOOKMARK) ||
        // Note: PAGE_TRANSITION_FROM_API is a qualifier (0x08000000), so bitwise AND is correct here.
        (transition_type & ui::PAGE_TRANSITION_FROM_API) ||
        // ...

Ensure that this correction is applied to all instances where core page transition types are checked in insecure_download_blocking.cc.

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

Impact

An attacker could bypass Chrome's silent blocking of dangerous mixed-content downloads, requiring only user interaction with a warning to save malware.

What the attacker needed

Victim visits attacker-controlled HTTPS page; victim interacts with iframe or form

The fix

Replace bitwise AND checks for core transition types with the PageTransitionCoreTypeIs helper function.

How it was found

  1. An attacker sets up an HTTPS-hosted webpage that they control.
  2. The attacker embeds an iframe pointing to a malicious executable on an HTTP origin, or uses an HTML form targeting the same HTTP URL.
  3. The victim visits the HTTPS page and the iframe loads or the form is submitted.
  4. The navigation becomes a download with transition type AUTO_SUBFRAME or FORM_SUBMIT.
  5. Due to the bitwise logic error, Chrome incorrectly sets is_mixed_content_ to false.
  6. The download is flagged as BLOCK instead of SILENT_BLOCK, showing a warning the user can bypass.

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 visit a secure (HTTPS) page, your browser normally blocks downloads from insecure (HTTP) sources without asking. This bug makes Chrome show a warning instead of silently blocking, so a user could be tricked into saving a malicious file. The mistake is in how the browser checks the type of navigation that led to the download.

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.