Join our Newsletter — 33% off our NHI Course
Home› Glossary› Architecture & Implementation› Browsing Context Group (BCG)
Architecture & Implementation

Browsing Context Group (BCG)

← Back to Glossary
By NHI Mgmt Group Updated November 26, 2026 Domain: Architecture & Implementation

A Browsing Context Group (BCG) is a set of browsing contexts, such as tabs and windows, that can reach each other through references like window.opener. Cross-Origin-Opener-Policy can place a page in a separate group, severing that link. This limits cross-window leaks and is required, with related headers, for cross-origin isolation.

What the BCG is and why it matters

A browsing context group is a browser isolation boundary for tabs, windows, and similar contexts that can share references to each other. It matters because that shared reference model affects whether one page can reach into another, and whether browser features such as cross-origin isolation can be enforced cleanly.

Think of the BCG as part of the browser’s trust topology, not just a bookkeeping detail. When separate contexts remain in the same group, features like window.opener can create a communication path that web applications must deliberately manage.

How browsing contexts relate to each other

Browsing contexts are the individual runtime environments that users experience as tabs, windows, and frames. A BCG defines which of those contexts can interact through object references, which is why opener relationships and related navigation behavior are central to the concept.

This is important in modern web application design because browser features do not exist in isolation. A page may be technically separate by origin yet still participate in a shared browser relationship if the group boundary has not been severed.

For a practical walkthrough of the header set that shapes these boundaries, see the Permissions Policy, COOP, COEP and CORP Guide.

Cross-origin isolation and boundary control

Cross-Origin-Opener-Policy can place a document into a separate browsing context group, which breaks the opener link and reduces the chance of unintended cross-window access. In practice, that separation is one of the browser mechanisms used to support cross-origin isolation.

The value of the separation is not just privacy in the abstract. It reduces cross-window data leakage, narrows the reach of references between documents, and helps browsers enforce stricter isolation requirements for powerful platform capabilities.

When a page depends on cross-origin isolation, the BCG becomes part of the deployment contract. A misconfigured opener relationship can undo the intended boundary even when other headers are present.

Where BCGs fit in real web security decisions

BCGs are most relevant when teams are designing authentication flows, popup-based integrations, or any browser interaction that depends on opening a new window and later returning to the original page. Those flows often need an explicit decision about whether the new context should retain a usable opener relationship.

Because the boundary is browser-enforced, developers usually need to think about it during design rather than after deployment. The key question is whether the application benefits more from controlled linkage between windows or from complete separation to prevent cross-context reachability.

That trade-off is why BCGs belong in discussions of web security architecture, header strategy, and browser isolation hardening rather than being treated as a purely internal browser implementation detail.

Risk and Threat Considerations

Shared browsing context relationships can expose a page to cross-window leakage, unwanted navigation influence, and opener-based interaction that attackers can abuse if a trusted page opens an untrusted one. The risk is highest when applications assume window separation that the browser has not actually enforced.

Failure mechanism: If a page remains in the same browsing context group as another context, object references such as opener can preserve a communication path that should have been severed, allowing data exposure or control influence across windows.

Impact: The result can be cross-origin information leakage, compromised isolation guarantees, and a weaker security boundary for browser-based flows that rely on separation.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP ASVS, NIST SP 800-53 Rev 5 and CIS Controls v8 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP ASVSV12 — Secure CommunicationBCGs affect cross-window isolation and browser boundary safety.
V14 — Data ProtectionBCG isolation helps reduce cross-window data leakage in browser sessions.
Recommendation — Validate opener and isolation behavior to prevent unintended cross-window communication. Protect sensitive browser data by isolating contexts that should not share references.
NIST SP 800-53 Rev 5SC-7 — Boundary ProtectionBCG separation enforces browser boundary controls between contexts.
SC-18 — Mobile CodeBrowser-executed code and window references shape cross-context exposure.
Recommendation — Enforce boundary protections that prevent unintended context-to-context reachability. Limit risky browser-executed interactions that can extend reach across contexts.
CIS Controls v8CIS-16 — Application Software SecurityBCG behavior is a web application security design concern for browser-based flows.
Recommendation — Review browser interaction patterns that can weaken isolation or expose opener links.

Practitioner Guidance

Why practitioners should care: Treat BCG behavior as part of your browser security design, especially for login, popup, and post-authentication flows. If your application depends on isolation, verify that the page is actually placed into a separate browsing context group when intended.

Common misunderstanding: Developers often assume that opening a new tab or window is enough to create a safe boundary. In reality, the opener relationship and related headers determine whether the browser keeps those contexts linked.

Practitioner takeaway: Design window-handling and isolation controls together, not separately, so your application’s browser boundaries match your security intent.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on November 26, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org