# CVE-2021-26296: Cryptographically weak CSRF tokens in Apache MyFaces

Source: https://junglewise.ai/threats/cve-2021-26296-cryptographically-weak-csrf-tokens-in-apache-myfaces  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2021-06-16  
License: CC BY 4.0 with a link back

CVE-2021-26296 · Severity: info · Published 2021-06-16

Cryptographically weak CSRF tokens in Apache MyFaces

Technologies: [org.apache.myfaces.core:myfaces-core-module (Maven)](https://junglewise.ai/threats/technologies/org-apache-myfaces-core-myfaces-core-module). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2021-26296 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2021-26296 being exploited in the wild.

**How severe is CVE-2021-26296?** Informational severity, published 16 June 2021.

**Which products and versions are affected?** org.apache.myfaces.core:myfaces-core-module (Maven) ECOSYSTEM:introduced=0,fixed=2.0.25.

**Is there a fix for CVE-2021-26296?** Yes. org.apache.myfaces.core:myfaces-core-module (Maven): upgrade to 2.0.25 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2021-26296?** Check whether you run org.apache.myfaces.core:myfaces-core-module (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.apache.myfaces.core:myfaces-core-module (Maven): upgrade to 2.0.25 or later

  ```sh
  # set org.apache.myfaces.core:myfaces-core-module to 2.0.25 in your pom.xml or build.gradle
  ```


## Affected products

- org.apache.myfaces.core:myfaces-core-module (Maven) ECOSYSTEM:introduced=0,fixed=2.0.25

## Identifiers

- CVE-2021-26296
- GHSA-gq67-pp9w-43gp

## Related threats

- [Apache MyFaces Cross-site Scripting vulnerability](https://junglewise.ai/threats/cve-2010-2086-apache-myfaces-cross-site-scripting-vulnerability)
- [Apache MyFaces Vulnerable to EL Injection](https://junglewise.ai/threats/cve-2011-4343-apache-myfaces-vulnerable-to-el-injection)
