@elysiajs/cors@1.0.2

Plugin for Elysia that for Cross Origin Requests (CORs)

  • latest version

    1.4.1

  • latest non vulnerable version

  • first published

    3 years ago

  • latest version published

    3 months ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @elysiajs/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
    Origin Validation Error

    @elysiajs/cors is a Plugin for Elysia that for Cross Origin Requests (CORs)

    Affected versions of this package are vulnerable to Origin Validation Error via improper validation in the processOrigin function. An attacker can gain unauthorized access to user data by supplying a malicious origin that is a substring of an allowed domain, thereby bypassing intended access restrictions.

    How to fix Origin Validation Error?

    Upgrade @elysiajs/cors to version 1.3.1 or higher.

    <1.3.1