Skip to content
FixSecurityHeadersScan a site

Cross-Origin-Opener-Policy explained

Last updated · Reviewed by a CISSP-certified security practitioner

Cross-Origin-Opener-Policy: COOP puts your page in its own browsing context group so cross-origin windows can't get a handle to it. Recommended value: same-origin.

What risk does it prevent?

Cross-window attacks (XS-Leaks, tabnabbing) and Spectre-style side channels.

What is the safe recommended value?

Cross-Origin-Opener-Policy: same-origin

What are the gotchas?

  • OAuth or payment pop-ups that talk back via window.opener may need same-origin-allow-popups.

Which compliance controls reference it?

  • OWASP ASVS V14.4

How do I add it on my stack?

Check your site now

Free scan, instant grade, exact fixes for your stack.

Other security headers