Skip to content

Missing CSRF middleware #33

@thirionlogan

Description

@thirionlogan

Describe the bug
Websites that rely on cookie-based authentication may be vulnerable to cross-site request forgery (CSRF). Specifically, a state-changing request should include a secret token so the request can't be forged by an attacker. Otherwise, unwanted requests can be submitted on behalf of a user who visits a malicious website.

** Recommendation **
Use a middleware package such as csurf to protect against CSRF attacks.

Additional context
Security Alert

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions