Missing Access-Control-Allow-Origin HTTP header
このページは日本語には対応しておりません。随時翻訳に取り組んでいます。
翻訳に関してご質問やご意見ございましたら、
お気軽にご連絡ください。
Description
This publicly exposed API endpoint does not implement the Access-Control-Allow-Origin (ACAO) header, which may allow attackers to exploit Cross-Origin Resource Sharing (CORS) vulnerabilities. Without this header properly configured, the API may be vulnerable to cross-site request forgery (CSRF) attacks where malicious websites could make unauthorized requests to the API using the user’s credentials.
Implement the Access-Control-Allow-Origin (ACAO) header in all API responses with appropriate values:
- Use specific origins instead of the wildcard ‘*’ .
- Only allow trusted domains that need access to the API.
Example header value:
Access-Control-Allow-Origin: https://trusted-domain.com