Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.myfaces.core/myfaces-core-module
  4. ›
  5. CVE-2021-26296

CVE-2021-26296: Cross-Site Request Forgery (CSRF)

June 16, 2021

In the default configuration, Apache MyFaces Core versions 2.2.0 to 2.2.13, 2.3.0 to 2.3.7, 2.3-next-M1 to 2.3-next-M4, and 3.0.0-RC1 use cryptographically weak implicit and explicit cross-site request forgery (CSRF) tokens. Due to that limitation, it is possible (although difficult) for an attacker to calculate a future CSRF token value and to use that value to trick a user into executing unwanted actions on an application.

References

  • github.com/advisories/GHSA-gq67-pp9w-43gp
  • github.com/apache/myfaces/commit/cc6e1cc7b9aa17e52452f7f2657b3af9c421b2b2
  • nvd.nist.gov/vuln/detail/CVE-2021-26296

Code Behaviors & Features

Detect and mitigate CVE-2021-26296 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.0.25, all versions starting from 2.1.0 before 2.1.19, all versions starting from 2.2.0 before 2.2.14, all versions starting from 2.3.0 before 2.3.8

Fixed versions

  • 2.0.25
  • 2.1.19
  • 2.2.14
  • 2.3.8

Solution

Upgrade to versions 2.0.25, 2.1.19, 2.2.14, 2.3.8 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-352: Cross-Site Request Forgery (CSRF)
  • CWE-352: Cross-Site Request Forgery (CSRF)

Source file

maven/org.apache.myfaces.core/myfaces-core-module/CVE-2021-26296.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:49 +0000.