ASVS Requirement 3.5.2
- Level: 1
- Chapter: V3 Web Frontend Security
- Section: V3.5 Browser Origin Separation
- Source: 0x12-V3-Web-Frontend-Security.md
Description
Verify that, if the application relies on the CORS preflight mechanism to prevent disallowed cross-origin use of sensitive functionality, it is not possible to call the functionality with a request which does not trigger a CORS-preflight request. This may require checking the values of the 'Origin' and 'Content-Type' request header fields or using an extra header field that is not a CORS-safelisted header-field.