@elysiajs/cors@1.3.0 vulnerabilities

Plugin for Elysia that for Cross Origin Requests (CORs)

  • latest version

    1.3.3

  • latest non vulnerable version

  • first published

    2 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.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    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