Skip to content

CSRF protection #1447

@mattbasta

Description

@mattbasta

Looking at the source and our deployed instance of adminjs, it doesn't look like it has CSRF protection. Someone with knowledge of an installation of adminjs could trigger destructive actions for logged-in users from a separate website simply by getting the logged-in user to click a link.

Are there plans to add CSRF protection to adminjs? If this is not currently planned, would contributions adding this be welcome?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions