CVE-2021-26296
HIGH 7.5CVSS 3.1Cryptographically weak CSRF tokens in Apache MyFaces
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.
- Published
- 19 Feb 2021
- Last modified
- 10 Sep 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-330CWE-352
- Also known as
- GHSA-gq67-pp9w-43gp
- Sources
- NVDJSONOSV GHSA-gq67-pp9w-43gpJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.1 | AV:N/AC:H/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | myfacescpe:2.3:a:apache:myfaces:*:*:*:*:*:*:*:* |
>= 2.2.0, <= 2.2.13 | |
| NVD | apache | myfacescpe:2.3:a:apache:myfaces:*:*:*:*:*:*:*:* |
>= 2.3.0, <= 2.3.7 | |
| NVD | apache | myfacescpe:2.3:a:apache:myfaces:2.3:next-m1:*:*:*:*:*:* |
= 2.3 | |
| NVD | apache | myfacescpe:2.3:a:apache:myfaces:2.3:next-m2:*:*:*:*:*:* |
= 2.3 | |
| NVD | apache | myfacescpe:2.3:a:apache:myfaces:2.3:next-m3:*:*:*:*:*:* |
= 2.3 | |
| NVD | apache | myfacescpe:2.3:a:apache:myfaces:2.3:next-m4:*:*:*:*:*:* |
= 2.3 | |
| NVD | apache | myfacescpe:2.3:a:apache:myfaces:3.0.0:rc1:*:*:*:*:*:* |
= 3.0.0 | |
| NVD | netapp | oncommand_insightcpe:2.3:a:netapp:oncommand_insight:-:*:*:*:*:*:*:* |
(no version) | |
| OSV | Maven | org.apache.myfaces.core:myfaces-core-module | < 2.0.25 | 2.0.25 |
| OSV | Maven | org.apache.myfaces.core:myfaces-core-module | >= 2.1.0, < 2.1.19 | 2.1.19 |
| OSV | Maven | org.apache.myfaces.core:myfaces-core-module | >= 2.2.0, < 2.2.14 | 2.2.14 |
| OSV | Maven | org.apache.myfaces.core:myfaces-core-module | >= 2.3.0, < 2.3.8 | 2.3.8 |
References
- http://packetstormsecurity.com/files/161484/Apache-MyFaces-2.x-Cross-Site-Request-Forgery.html · Exploit, Third Party Advisory, VDB Entry, WEB
- http://seclists.org/fulldisclosure/2021/Feb/66 · Mailing List, Third Party Advisory, WEB
- https://lists.apache.org/thread.html/r2b73e2356c6155e9ec78fdd8f72a4fac12f3e588014f5f535106ed9b%40%3Cannounce.apache.org%3E · Mailing List, Vendor Advisory, WEB
- https://security.netapp.com/advisory/ntap-20210528-0007/ · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-26296 · ADVISORY
- https://github.com/apache/myfaces/commit/cc6e1cc7b9aa17e52452f7f2657b3af9c421b2b2 · WEB
- https://issues.apache.org/jira/browse/MYFACES-4373 · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 19 Feb 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 16 Jun 2021)