OWASPASVS 5.0 requirement

ASVS-V3.5.8 Authenticated resources (such as images, videos, scripts, and other documents) can be loaded or embedded on behalf of the user only when…

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

Requirement

Verify that authenticated resources (such as images, videos, scripts, and other documents) can be loaded or embedded on behalf of the user only when intended. This can be accomplished by strict validation of the Sec-Fetch-* HTTP request header fields to ensure that the request did not originate from an inappropriate cross-origin call, or by setting a restrictive Cross-Origin-Resource-Policy HTTP response header field to instruct the browser to block returned content.