litestar-vite@0.1.19

Vite plugin for Litestar

  • latest version

    0.30.0

  • latest non vulnerable version

  • first published

    2 years ago

  • latest version published

    2 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the litestar-vite 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
    Open Redirect

    litestar-vite is a Vite plugin for Litestar

    Affected versions of this package are vulnerable to Open Redirect due to missing same-origin validation on redirect targets. The InertiaBack redirect logic trusts the Referer header, and InertiaRedirect accepts a redirect_to parameter without validating that the resulting URL is same-origin or relative. Additionally, the redirect response classes in the Inertia integration pass cookies=request.cookies, causing client cookies to be reflected via response cookie handling.

    How to fix Open Redirect?

    Upgrade litestar-vite to version 0.15.0a7 or higher.

    [,0.15.0a7)