{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-26296","id":"CVE-2021-26296","title":"Cross-Site Request Forgery (CSRF) vulnerability in Apache MyFaces","description":"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 unwante","descriptionLong":"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":"2021-02-19T08:30:14.000Z","updated":"2026-10-24T10:30:17.939505079Z","reserved":"2021-01-28T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"apache","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"2.0","score":5.1,"vector":"AV:N/AC:H/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":["Apache Software Foundation Apache MyFaces Core"],"affectedProducts":[{"vendor":"Apache Software Foundation","product":"Apache MyFaces Core","defaultStatus":null,"versions":[{"lessThan":"2.2.14","status":"affected","version":"Apache MyFaces Core 2.2","versionType":"custom"},{"lessThan":"2.3.8","status":"affected","version":"Apache MyFaces Core 2.3","versionType":"custom"},{"lessThan":"2.3-next-M5","status":"affected","version":"Apache MyFaces Core 2.3-next","versionType":"custom"},{"lessThan":"3.0.0","status":"affected","version":"Apache MyFaces Core 3.0","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.apache.myfaces.core:myfaces-core-module","purl":"pkg:maven/org.apache.myfaces.core/myfaces-core-module","ranges":["<2.0.25",">=2.1.0 <2.1.19",">=2.2.0 <2.2.14",">=2.3.0 <2.3.8"],"fixed":["2.0.25","2.1.19","2.2.14","2.3.8"],"advisory":"GHSA-gq67-pp9w-43gp"}],"cwes":["CWE-352","CWE-330"],"aliases":["GHSA-gq67-pp9w-43gp"],"references":[{"url":"https://lists.apache.org/thread.html/r2b73e2356c6155e9ec78fdd8f72a4fac12f3e588014f5f535106ed9b%40%3Cannounce.apache.org%3E","tags":["x_refsource_MISC","x_transferred","Mailing List","Vendor Advisory","advisory","web"]},{"url":"http://seclists.org/fulldisclosure/2021/Feb/66","tags":["mailing-list","x_refsource_FULLDISC","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"http://packetstormsecurity.com/files/161484/Apache-MyFaces-2.x-Cross-Site-Request-Forgery.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence","web"]},{"url":"https://security.netapp.com/advisory/ntap-20210528-0007/","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-26296","tags":["advisory"]},{"url":"https://github.com/apache/myfaces/commit/cc6e1cc7b9aa17e52452f7f2657b3af9c421b2b2","tags":["web"]},{"url":"https://issues.apache.org/jira/browse/MYFACES-4373","tags":["web"]},{"url":"https://security.netapp.com/advisory/ntap-20210528-0007","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.02924,"epssPercentile":0.87325,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-26296","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-26296","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-26296","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-gq67-pp9w-43gp","ok":true,"note":"GHSA-gq67-pp9w-43gp"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-26296","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}