Details
Alert ID 90004-3
Alert Type Passive
Status beta
Risk Low
CWE 693
WASC 14
Technologies Targeted All
Tags CWE-693
OWASP_2017_A03
OWASP_2021_A04
More Info Scan Rule Help

Summary

Cross-Origin-Opener-Policy header is a response header that allows a site to control if others included documents share the same browsing context. Sharing the same browsing context with untrusted documents might lead to data leak.

Solution

Ensure that the application/web server sets the Cross-Origin-Opener-Policy header appropriately, and that it sets the Cross-Origin-Opener-Policy header to 'same-origin' for documents. 'same-origin-allow-popups' is considered as less secured and should be avoided. If possible, ensure that the end user uses a standards-compliant and modern web browser that supports the Cross-Origin-Opener-Policy header (https://caniuse.com/mdn-http_headers_cross-origin-opener-policy).

Other Info

References

Code

org/zaproxy/zap/extension/pscanrulesBeta/SiteIsolationScanRule.java