sanic-cors@2.1.0

A Sanic extension adding a decorator for CORS support. Based on flask-cors by Cory Dolphin.

  • latest version

    2.2.0

  • first published

    9 years ago

  • latest version published

    3 years ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the sanic-cors package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Access Control Bypass

    Sanic-Cors is an A Sanic extension adding a decorator for CORS support. Based on flask-cors by Cory Dolphin.

    Affected versions of this package are vulnerable to Access Control Bypass via the try_match function. An attacker can gain unauthorized access to cross-origin requests for authenticated resources by registering a domain that begins with a trusted origin string, thereby bypassing origin allowlists.

    How to fix Access Control Bypass?

    There is no fixed version for Sanic-Cors.

    [0,)