ADVISORIES

Vulnerability

CVE-2020-8166

A CSRF forgery vulnerability exists in rails < 5.2.5, rails < 6.0.4 that makes it possible for an attacker to, given a global CSRF token such as the one present in the authenticity_token meta tag, forge a per-form CSRF token.

14 advisories report this vulnerability, across 6 ecosystems.

Advisories in RubyGems

  • GHSA-jp5v-5gx4-jmj9

    Ability to forge per-form CSRF tokens in Rails

    Moderate CVE-2020-8166 RubyGems Updated 5 May 2026

References