OWASPASVS 5.0 requirement

ASVS-V3.4.8 All http responses that initiate a document rendering (such as responses with content-type text/html), include the…

L3 Published 2025 Official page ↗
Standard
OWASP ASVS 5.0
Chapter
V3 Web Frontend Security
Section
V3.4 Browser Security Mechanism Headers
Level
L3 (requirement applies from this verification level up)

Requirement

Verify that all HTTP responses that initiate a document rendering (such as responses with Content-Type text/html), include the Cross‑Origin‑Opener‑Policy header field with the same-origin directive or the same-origin-allow-popups directive as required. This prevents attacks that abuse shared access to Window objects, such as tabnabbing and frame counting.