CVE-2022-24712
published medium CVSS 3.1 · 6.3Cross-Site Request Forgery (CSRF) Protection Bypass Vulnerability in CodeIgniter4
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| codeigniter4 | — | CodeIgniter4< 4.1.9 | Affected | Not stated | GitHub_M |
Description
CodeIgniter4 is the 4.x branch of CodeIgniter, a PHP full-stack web framework. A vulnerability in versions prior to 4.1.9 might allow remote attackers to bypass the CodeIgniter4 Cross-Site Request Forgery (CSRF) protection mechanism. Users should upgrade to version 4.1.9. There are workarounds for this vulnerability, but users will still need to code as these after upgrading to v4.1.9. Otherwise, the CSRF protection may be bypassed. If auto-routing is enabled, check the request method in the controller method before processing. If auto-routing is disabled, either avoid using `$routes->add()` and instead use HTTP verbs in routes; or check the request method in the controller method before processing.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| codeigniter4 | CodeIgniter4 | < 4.1.9 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-352 CWE-352: Cross-Site Request Forgery (CSRF)
References
2Provider assertions
3GitHub_M · cna
Cross-Site Request Forgery (CSRF) Protection Bypass Vulnerability in CodeIgniter4
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- dbe7acfa36b8f71a6e0df73942fe608afe87853f19867d941ecc395723dd8fae
- Ingested
- 23 Sep 2026, 07:58:57 UTC
- Source record
- Official CVE record