Skip to main content

Fix example direct vulnerability for Ruby

These example steps provide a fix for a Cross-site Request Forgery (CSRF) vulnerability in administrate, version 0.1.4 in the example-ruby repository.

To complete this task:

  1. Edit the Gemfile file in the root of the project to match the following:

    gem 'administrate', '0.1.5'
  2. Run this command from your terminal within the project:

    bundle update administrate  
  3. Validate the fix.