QID 150630

Date Published: 2023-03-08

QID 150630: CORS header misconfigured

Cross-Origin Resource Sharing (CORS) is an HTTP-header based mechanism that allows a server to indicate any origins (domain, scheme, or port) other than its own from which a browser should permit loading resources. CORS also relies on a mechanism by which browsers make a "preflight" request to the server hosting the cross-origin resource, in order to check that the server will permit the actual request. In that preflight, the browser sends headers that indicate the HTTP method and headers that will be used in the actual request. For security reasons, browsers restrict cross-origin HTTP requests initiated from scripts. The "Access-Control-Allow-Origin" header is used to specify the allowed origins to access the resource.

The WAS scanning engine detects the vulnerability by examining the "Access-Control-Allow-Origin" header for a wildcard value (*). This value in the response to an XHR request indicate that the resource can be accessed from any domain and needs to be strictly configured.

If CORS is misconfigured, it can lead to major security risk like access to sensitive data, API keys and other users' data from any domain. This access could lead to misuse and exploitation of protected resource.

  • CVSS V3 rated as Critical - 9.8 severity.
  • CVSS V2 rated as Critical - 10 severity.
  • Solution
    CORS header misconfiguration can be addressed by providing only the list of allowed domains in the "Access-Control-Allow-Origin" header. The wildcard character (*) should never be provided as it indicates any domain can access the resource.
    Vendor References

    CVEs related to QID 150630

    Software Advisories
    Advisory ID Software Component Link

    © CVE.report 2026

    Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

    CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

    Free CVE JSON API cve.report/api

    CVE.report and Source URL Uptime Status status.cve.report