Skip to content
Fencer Vulns
high 7.5

CVE-2021-26296 json

Cross-Site Request Forgery (CSRF) vulnerability in Apache MyFaces

published 2021-02-19 5 y ago modified 2026-09-10 1 mo ago also GHSA-gq67-pp9w-43gp , EUVD-2021-1329

cvss
7.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.9%
EPSS 2.9% chance of exploitation in 30 days, percentile 86%
public exploits
0
none known

Summary

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.

Patch / fix

  • maven org.apache.myfaces.core:myfaces-core-module 2.0.25, 2.1.19, 2.2.14, 2.3.8
  • Apache Software Foundation Apache MyFaces Core 2.2.14, 2.3-next-M5, 2.3.8, 3.0.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2021-26296 updated cvss 7.5

myfaces: Cross-site request forgery vulnerability in Apache MyFaces

  • Red Hat Decision Manager 7 jsf-impl-myfaces jsf-impl-myfaces
    affected: no fix planned “Will not fix”
  • Red Hat JBoss Enterprise Application Platform 6 myfaces-impl myfaces-impl
    affected: no fix planned “Out of support scope”
  • Red Hat OpenStack Platform 13 (Queens) opendaylight Red Hat Process Automation 7 jsf-impl-myfaces jsf-impl-myfaces
    affected: no fix planned “Will not fix”
  • Red Hat JBoss Enterprise Application Platform 7 myfaces-impl myfaces-impl Red Hat JBoss Enterprise Application Platform Expansion Pack myfaces-impl myfaces-impl
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

2.89% chance of exploitation in the next 30 days, higher than 86% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • packetstormsecurity.com http://packetstormsecurity.com/files/161484/Apache-MyFaces-2.x-Cross-Site-Request-Forgery.html referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD 2.0 5.1 AV:N/AC:H/Au:N/C:P/I:P/A:P

Affected packages

ecosystem package affected fixed in
maven org.apache.myfaces.core:myfaces-core-module
<2.0.25
>=2.1.0, <2.1.19
>=2.2.0, <2.2.14
>=2.3.0, <2.3.8
2.0.25
2.1.19
2.2.14
2.3.8

Affected products

  • Apache Software Foundation Apache MyFaces Core

Classification

Weakness
  • CWE-352 Cross-Site Request Forgery
  • CWE-330 Use of Insufficiently Random Values

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.