{"id":"CVE-2021-26296","details":"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.","aliases":["GHSA-gq67-pp9w-43gp"],"modified":"2026-07-08T22:13:52.489787Z","published":"2021-02-19T09:15:13.283Z","references":[{"type":"ADVISORY","url":"http://seclists.org/fulldisclosure/2021/Feb/66"},{"type":"ADVISORY","url":"https://lists.apache.org/thread.html/r2b73e2356c6155e9ec78fdd8f72a4fac12f3e588014f5f535106ed9b%40%3Cannounce.apache.org%3E"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20210528-0007/"},{"type":"EVIDENCE","url":"http://packetstormsecurity.com/files/161484/Apache-MyFaces-2.x-Cross-Site-Request-Forgery.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/apache/myfaces","events":[{"introduced":"7f14c1af9c4de563fe32714688e88cfd0265f3f1"},{"last_affected":"2005dd31c1e63456ba01f1b23997ff3dfb81c718"},{"introduced":"c9a1fc5cdd54470443dc6ebd1f479caefb3cf87f"},{"last_affected":"ff4270d98fc76abe647eed2360d16f82e142345e"},{"introduced":"1bfe848e4f224bb043178aafaa3451e2d32f0c97"},{"last_affected":"a3d54b6c45b2fc15efba645f590d065b8b7ee561"}],"database_specific":{"cpe":["cpe:2.3:a:apache:myfaces:*:*:*:*:*:*:*:*","cpe:2.3:a:apache:myfaces:2.3:next-m1:*:*:*:*:*:*","cpe:2.3:a:apache:myfaces:2.3:next-m2:*:*:*:*:*:*","cpe:2.3:a:apache:myfaces:2.3:next-m3:*:*:*:*:*:*","cpe:2.3:a:apache:myfaces:2.3:next-m4:*:*:*:*:*:*","cpe:2.3:a:apache:myfaces:3.0.0:rc1:*:*:*:*:*:*"],"extracted_events":[{"introduced":"2.2.0"},{"last_affected":"2.2.13"},{"introduced":"2.3.0"},{"last_affected":"2.3.7"},{"introduced":"2.3-next\\-m1"},{"last_affected":"2.3-next\\-m1"},{"introduced":"2.3-next\\-m2"},{"last_affected":"2.3-next\\-m2"},{"introduced":"2.3-next\\-m3"},{"last_affected":"2.3-next\\-m3"},{"introduced":"2.3-next\\-m4"},{"last_affected":"2.3-next\\-m4"},{"introduced":"3.0.0-rc1"},{"last_affected":"3.0.0-rc1"}],"source":["CPE_RANGE","CPE_STRING"]}}],"versions":["2.3-next\\-m1","2.3-next\\-m2","2.3-next\\-m3","2.3-next\\-m4","3.0.0-rc1","myfaces-core-module-2.3.7","myfaces-core-module-3.0.0-RC1","myfaces-core-module-2.2.13","myfaces-core-module-2.3.6","myfaces-core-module-2.3.5","myfaces-core-module-2.3.4","myfaces-core-module-2.3.3","myfaces-core-module-2.3.2","myfaces-core-module-2.3.1","myfaces-core-module-2.2.12","myfaces-core-module-2.2.11","myfaces-core-module-2.2.10","myfaces-core-module-2.2.9","myfaces-core-module-2.2.8","myfaces-core-module-2.2.7","myfaces-core-module-2.2.6","myfaces-core-module-2.2.5","myfaces-core-module-2.2.4","myfaces-core-module-2.2.3","myfaces-core-module-2.2.2","myfaces-core-module-2.2.1","myfaces-core-module-2.2.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-26296.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}