Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:composer/codeigniter4/framework@4.2.7
purl pkg:composer/codeigniter4/framework@4.2.7
Next non-vulnerable version 4.6.2
Latest non-vulnerable version 4.7.3
Risk 4.5
Vulnerabilities affecting this package (8)
Vulnerability Summary Fixed by
VCID-1znc-1bss-pkaj
Aliases:
CVE-2023-46240
GHSA-hwxf-qxj7-7rfj
CodeIgniter is a PHP full-stack web framework. Prior to CodeIgniter4 version 4.4.3, if an error or exception occurs, a detailed error report is displayed even if in the production environment. As a result, confidential information may be leaked. Version 4.4.3 contains a patch. As a workaround, replace `ini_set('display_errors', '0')` with `ini_set('display_errors', 'Off')` in `app/Config/Boot/production.php`.
4.4.3
Affected by 4 other vulnerabilities.
VCID-dq2u-p7ju-6yfd
Aliases:
CVE-2023-32692
GHSA-m6m8-6gq8-c9fj
GMS-2023-1562
CodeIgniter is a PHP full-stack web framework. This vulnerability allows attackers to execute arbitrary code when you use Validation Placeholders. The vulnerability exists in the Validation library, and validation methods in the controller and in-model validation are also vulnerable because they use the Validation library internally. This issue is patched in version 4.3.5.
4.3.5
Affected by 5 other vulnerabilities.
VCID-dtde-gj8c-a7br
Aliases:
CVE-2024-29904
GHSA-39fp-mqmm-gxj6
CodeIgniter is a PHP full-stack web framework A vulnerability was found in the Language class that allowed DoS attacks. This vulnerability can be exploited by an attacker to consume a large amount of memory on the server. Upgrade to v4.4.7 or later.
4.4.7
Affected by 3 other vulnerabilities.
VCID-jdsk-9fw6-buhu
Aliases:
CVE-2025-45406
GHSA-49jm-g4m8-x53p
A stored cross-site scripting (XSS) vulnerability in CodeIgniter4 v4.6.0 allows attackers to execute arbitrary web scripts or HTML via a crafted payload injected into the debugbar_time parameter. NOTE: this is disputed by the Supplier because attackers cannot influence the value of debugbar_time, and because debugbar-related data is automatically escaped by the CodeIgniter Parser class. There are no reported fixed by versions.
VCID-jfqs-jftp-byf3
Aliases:
CVE-2022-23556
GHSA-ghw3-5qvm-3mqc
CodeIgniter is a PHP full-stack web framework. This vulnerability may allow attackers to spoof their IP address when the server is behind a reverse proxy. This issue has been patched, please upgrade to version 4.2.11 or later, and configure `Config\App::$proxyIPs`. As a workaround, do not use `$request->getIPAddress()`.
4.2.11
Affected by 6 other vulnerabilities.
VCID-kqy2-2nun-27cn
Aliases:
CVE-2025-54418
GHSA-9952-gv64-x94c
CodeIgniter is a PHP full-stack web framework. A command injection vulnerability present in versions prior to 4.6.2 affects applications that use the ImageMagick handler for image processing (`imagick` as the image library) and either allow file uploads with user-controlled filenames and process uploaded images using the `resize()` method or use the `text()` method with user-controlled text content or options. An attacker can upload a file with a malicious filename containing shell metacharacters that get executed when the image is processed or provide malicious text content or options that get executed when adding text to images Users should upgrade to v4.6.2 or later to receive a patch. As a workaround, switch to the GD image handler (`gd`, the default handler), which is not affected by either vulnerability. For file upload scenarios, instead of using user-provided filenames, generate random names to eliminate the attack vector with `getRandomName()` when using the `move()` method, or use the `store()` method, which automatically generates safe filenames. For text operations, if one must use ImageMagick with user-controlled text, sanitize the input to only allow safe characters and validate/restrict text options.
4.6.2
Affected by 0 other vulnerabilities.
VCID-p6ns-5khc-77au
Aliases:
CVE-2025-24013
GHSA-x5mq-jjr3-vmx6
CodeIgniter is a PHP full-stack web framework. Prior to 4.5.8, CodeIgniter lacked proper header validation for its name and value. The potential attacker can construct deliberately malformed headers with Header class. This could disrupt application functionality, potentially causing errors or generating invalid HTTP requests. In some cases, these malformed requests might lead to a DoS scenario if a remote service’s web application firewall interprets them as malicious and blocks further communication with the application. This vulnerability is fixed in 4.5.8.
4.5.8
Affected by 2 other vulnerabilities.
VCID-snv3-sbwn-w3ah
Aliases:
CVE-2022-46170
GHSA-6cq5-8cj7-g558
CodeIgniter is a PHP full-stack web framework. When an application uses (1) multiple session cookies (e.g., one for user pages and one for admin pages) and (2) a session handler is set to `DatabaseHandler`, `MemcachedHandler`, or `RedisHandler`, then if an attacker gets one session cookie (e.g., one for user pages), they may be able to access pages that require another session cookie (e.g., for admin pages). This issue has been patched, please upgrade to version 4.2.11 or later. As a workaround, use only one session cookie.
4.2.11
Affected by 6 other vulnerabilities.
Vulnerabilities fixed by this package (1)
Vulnerability Summary Aliases
VCID-ntph-mnds-9ffc CodeIgniter is a PHP full-stack web framework. In versions prior to 4.2.7 setting `$secure` or `$httponly` value to `true` in `Config\Cookie` is not reflected in `set_cookie()` or `Response::setCookie()`. As a result cookie values are erroneously exposed to scripts. It should be noted that this vulnerability does not affect session cookies. Users are advised to upgrade to v4.2.7 or later. Users unable to upgrade are advised to manually construct their cookies either by setting the options in code or by constructing Cookie objects. Examples of each workaround are available in the linked GHSA. CVE-2022-39284
GHSA-745p-r637-7vvp

Date Actor Action Vulnerability Source VulnerableCode Version
2026-06-12T20:08:08.372311+00:00 GitLab Importer Affected by VCID-kqy2-2nun-27cn https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/codeigniter4/framework/CVE-2025-54418.yml 38.6.0
2026-06-12T20:08:04.409125+00:00 GitLab Importer Affected by VCID-jdsk-9fw6-buhu https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/codeigniter4/framework/CVE-2025-45406.yml 38.6.0
2026-06-12T19:50:20.887993+00:00 GitLab Importer Affected by VCID-p6ns-5khc-77au https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/codeigniter4/framework/CVE-2025-24013.yml 38.6.0
2026-06-12T19:24:24.154823+00:00 GitLab Importer Affected by VCID-dtde-gj8c-a7br https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/codeigniter4/framework/CVE-2024-29904.yml 38.6.0
2026-06-12T19:10:04.565919+00:00 GitLab Importer Affected by VCID-1znc-1bss-pkaj https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/codeigniter4/framework/CVE-2023-46240.yml 38.6.0
2026-06-12T18:56:08.183759+00:00 GitLab Importer Affected by VCID-dq2u-p7ju-6yfd https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/codeigniter4/framework/CVE-2023-32692.yml 38.6.0
2026-06-12T18:42:37.572022+00:00 GitLab Importer Affected by VCID-jfqs-jftp-byf3 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/codeigniter4/framework/CVE-2022-23556.yml 38.6.0
2026-06-12T18:42:37.337068+00:00 GitLab Importer Affected by VCID-snv3-sbwn-w3ah https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/codeigniter4/framework/CVE-2022-46170.yml 38.6.0
2026-06-12T08:12:57.701741+00:00 GithubOSV Importer Fixing VCID-ntph-mnds-9ffc https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/10/GHSA-745p-r637-7vvp/GHSA-745p-r637-7vvp.json 38.6.0
2026-06-11T20:32:45.467234+00:00 GHSA Importer Fixing VCID-ntph-mnds-9ffc https://github.com/advisories/GHSA-745p-r637-7vvp 38.6.0