Skip to content

[HIGH] Plugin execute endpoint has no authentication #49

@Danieliushka

Description

@Danieliushka

Description

/api/plugins/execute POST endpoint accepts arbitrary commands with no authentication.

Location

src/routes/api/plugins/execute/+server.js

Impact

Any unauthenticated user can execute plugin commands.

Recommended Fix

Add auth check using createSupabaseServerClient(event) + supabase.auth.getUser().

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions