Skip to main content

Codeigniter CVE-2022-24712

HIGH
Cross-Site Request Forgery (CSRF) (CWE-352)
2022-02-28 security-advisories@github.com
8.8
CVSS 3.1 · NVD
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Anti-CSRF tokens, SameSite cookies
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

CVSS score of 8.8 (HIGH). Attack characteristics: network attack vector, low complexity, no privileges required, user interaction required.

Exploit ScenarioDerived

A remote attacker could trick authenticated users into performing unintended actions by sending crafted requests to the affected application. No authentication is required to exploit this vulnerability.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAI

CodeIgniter4 is the 4.x branch of CodeIgniter, a PHP full-stack web framework. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity. No vendor patch available.

RemediationAI

No vendor patch is available at time of analysis. Monitor vendor advisories for updates. Implement anti-CSRF tokens, validate Origin/Referer headers, use SameSite cookie attribute.

Affected Packages

composer codeigniter4/framework fix: 4.1.9

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in composer

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This vulnerability is classified as Cross-Site Request Forgery (CSRF) (CWE-352), which allows attackers to trick authenticated users into performing unintended actions. 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. Affected products include: Codeigniter. Version information: prior to 4.1.9.

Know when Codeigniter gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 8.8 HIGH
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionNVD

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.

Threat Intelligence Overview

EPSS Score
0.6%
Top 57% exploitable
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

Affected Products (CPE)NVD

cpe:2.3:a:codeigniter:codeigniter:*:*:*:*:*:*:*:*
CVE-2014-8684 CRITICAL POC
9.8 Sep 19

CodeIgniter before 3.0 and Kohana 3.2.3 and earlier and 3.3.x through 3.3.2 make it easier for remote attackers to spoof

CVE-2014-8686 CRITICAL POC
9.8 Sep 19

CodeIgniter before 2.2.0 makes it easier for attackers to decode session cookies by leveraging fallback to a custom XOR-

CVE-2022-40835 CRITICAL POC
9.8 Oct 07

B.C. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low att

CVE-2022-40834 CRITICAL POC
9.8 Oct 07

B.C. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low att

CVE-2022-40833 CRITICAL POC
9.8 Oct 07

B.C. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low att

CVE-2022-40832 CRITICAL POC
9.8 Oct 07

B.C. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low att

CVE-2022-40831 CRITICAL POC
9.8 Oct 07

B.C. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low att

CVE-2022-40830 CRITICAL POC
9.8 Oct 07

B.C. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low att

CVE-2022-40829 CRITICAL POC
9.8 Oct 07

B.C. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low att

CVE-2022-40828 CRITICAL POC
9.8 Oct 07

B.C. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low att

CVE-2022-40827 CRITICAL POC
9.8 Oct 07

B.C. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low att

CVE-2022-40826 CRITICAL POC
9.8 Oct 07

B.C. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low att

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy