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

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

February 19, 2021 (updated June 2, 2021)

In the default configuration, Apache MyFaces Core to to to 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

  • packetstormsecurity.com/files/161484/Apache-MyFaces-2.x-Cross-Site-Request-Forgery.html
  • lists.apache.org/thread.html/r2b73e2356c6155e9ec78fdd8f72a4fac12f3e588014f5f535106ed9b%40%3Cannounce.apache.org%3E
  • 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 starting from 2.2.0 up to 2.2.13, all versions starting from 2.3 up to 2.3.7, version 3.0.0

Fixed versions

  • 2.2.14
  • 2.3.8

Solution

Upgrade to versions 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)

Source file

maven/org.apache.myfaces.core/myfaces-impl/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:16:16 +0000.