Details
Alert Id 90004-2
Alert Type Passive
Status alpha
Risk Low
CWE 693
WASC 14
Technologies Targeted All
Tags OWASP_2017_A03
OWASP_2021_A04

Summary

Cross-Origin-Embedder-Policy header is a response header that prevents a document from loading any cross-origin resources that don’t explicitly grant the document permission (using CORP or CORS).

Solution

Ensure that the application/web server sets the Cross-Origin-Embedder-Policy header appropriately, and that it sets the Cross-Origin-Embedder-Policy header to 'require-corp' for documents. If possible, ensure that the end user uses a standards-compliant and modern web browser that supports the Cross-Origin-Embedder-Policy header (https://caniuse.com/mdn-http_headers_cross-origin-embedder-policy).

References

Code

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