Skip to content

sigpwny/ctfd-csrf-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

ctfd-csrf-plugin

This plugin enables you to fetch the CSRF token for use in a frontend-only theme.

The session nonce is available at /api/v1/csrf_token.

Why is this secure?

  • CTFd has CORS on GET endpoints.
  • CTFd has CSRF to prevent malicious POST requests.

A malicious site cannot fetch any page on CTFd via a GET request. Thus this endpoint has the same security level as fetching the form page itself.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages