Site isolation

On this page 7

Site isolation is a browser security architecture that places pages from different websites into separate operating system processes, so that one site cannot read another site’s data from memory even if it exploits a flaw in the rendering engine. In browser technologies for the Web, it is the main defense against cross-site data leaks caused by compromised renderers and by speculative execution attacks such as Spectre.

Site isolation extends the classic same-origin policy, which is enforced by browser logic, with a boundary enforced by the operating system itself. Chromium-based browsers enabled it broadly in 2018, and Firefox followed with its own implementation, known as Project Fission.

How site isolation separates websites into processes

Site isolation works by assigning every site its own renderer process. A site is defined as the scheme plus the registrable domain, also called eTLD+1, so https://mail.example.com and https://docs.example.com belong to the same site, while https://example.org is a different one.

The decisive step is that isolation applies inside a single page as well. When a page embeds a cross-site iframe, such as an advertisement or a payment widget, the browser renders that frame in a different process through out-of-process iframes, often abbreviated OOPIF. The browser process composes the frames into one visible page, while their memory stays separated.

The browser process also filters network responses. Cross-Origin Read Blocking, and its successor Opaque Response Blocking, prevent a renderer from receiving sensitive cross-site resources such as HTML or JSON when it requests them through tags like img or script, so that the data never enters the attacker’s process.

MechanismWhat it doesThreat it addresses
Process per siteSeparates top-level documents by siteMemory reads across tabs
Out-of-process iframesMoves cross-site frames into other processesMalicious embedded content
Response blockingKeeps sensitive cross-site data out of renderersSpectre-style memory leaks
Process lockingTies each renderer to one site for its lifetimeCompromised renderer requesting foreign data
Browser process checksValidates renderer requests for cookies and storageRenderer impersonating another site
Key mechanisms that make site isolation work

Why site isolation became necessary

Before site isolation, a browser usually trusted the same-origin policy enforced inside the renderer. That model failed in two ways: a renderer exploit could bypass the checks in code, and the Spectre vulnerability disclosed in 2018 showed that JavaScript could infer data from the same address space through CPU side channels, without any software bug.

Browsers first reduced timer precision and temporarily disabled SharedArrayBuffer, but those measures only slowed attackers. The durable answer was to ensure that secret data from another site is never present in the attacker’s process in the first place.

Site isolation is often confused with neighboring security concepts in browser technologies. The table explains how it differs from them and how they complement each other.

FeatureBoundary enforced byRelationship to site isolation
Same-origin policyBrowser logic in the rendererLogical rule that site isolation backs with processes
Browser sandboxOperating system restrictionsLimits what any renderer can do to the system
CORSHTTP headers from the serverRelaxes the same-origin policy on purpose
Cross-origin isolationCOOP and COEP headersOpt-in mode that re-enables powerful APIs
Origin isolationOrigin-Agent-Cluster headerFiner separation by origin instead of site
Site isolation and related protections

The browser sandbox protects the operating system from a renderer, while site isolation protects sites from each other. Both are needed: a sandboxed renderer that hosts two sites at once could still leak data between them.

Browser support, granularity and cost

Implementations differ by browser and platform, mostly because each extra process consumes memory. Chromium reported a memory overhead in the range of roughly 10 to 13 percent on desktop when isolation was launched, with the exact figure depending on how many sites and frames are open.

Browser engineDesktop statusMobile approach
Chromium and BlinkFull site isolation since 2018Partial, prioritizing sites where users sign in
Firefox and GeckoProject Fission enabled by default since 2021Rolled out more gradually
Safari and WebKitProcess per tab, site isolation under developmentConstrained by device memory
Site isolation across major browser engines

On Android, Chrome uses partial site isolation on devices with sufficient memory, isolating sites where the user has entered a password or signed in through a known identity provider. Enterprise administrators can enforce stricter isolation policies, including isolation by origin for selected domains.

What site isolation means for web developers

For most websites, site isolation is transparent: pages behave the same, but cross-site frames now run in parallel processes. Developers mainly notice effects at the edges of the model.

  • Correct Content-Type headers matter: response blocking relies on accurate MIME types and X-Content-Type-Options: nosniff, so mislabeled JSON may be blocked or, worse, left unprotected.
  • Synchronous cross-frame access is impossible: cross-site frames communicate only through postMessage, which was already the rule under the same-origin policy.
  • Powerful APIs require opt-in: features such as SharedArrayBuffer need cross-origin isolation through COOP and COEP headers.
  • Same-site subdomains share a process: isolation does not separate a.example.com from b.example.com unless origin isolation is requested.
  • Isolation is not a fix for XSS: injected script runs inside the victim site’s own process and is unaffected.

Understanding it simply

Site isolation means the browser gives every website its own sealed room. Your bank, your email and a random news site each run in a separate room, and the walls are built by the computer’s operating system, not just by polite rules.

Even if a bad website breaks something in its own room, it cannot look into the other rooms to steal passwords or messages. The price is that the browser uses more memory, because it has to keep more rooms open at the same time.

Applied in practice

A news site embeds a third-party advertising iframe, and one advertising network unknowingly serves a script designed to exploit a Spectre-style side channel. The user also has an online banking session open in another tab, and the news page itself contains an embedded social media widget with the user’s profile data.

With site isolation enabled in a Chromium-based browser, the advertisement runs in its own renderer process, separate from both the news page and the widget, and the banking tab lives in yet another process. The malicious script can probe only memory that belongs to the advertising site, and attempts to load the bank’s JSON account data through an image tag are stopped by response blocking before the data reaches that process. The outcome is that the attack yields no readable data from other sites, and the user notices nothing beyond normal page behavior.