Vulnerabilities · 2023 · Codeigniter
CVE-2023-46240
Codeigniter vulnerability
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`.
Affected products
Codeigniter. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Codeigniter runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-hwxf-qxj7-7rfj · Vendor Advisory
- github.com/codeigniter4/CodeIgniter4/commit/423569fc31e29f51635a2e59c89770333f0e7563 · Patch
- codeigniter4.github.io/userguide/general/errors.html#error-reporting
- nvd.nist.gov/vuln/detail/CVE-2023-46240
- cve.org/CVERecord?id=CVE-2023-46240
More vulnerabilities in Codeigniter products
CVE-2025-54418CVE-2025-24013CVE-2024-41344CVE-2024-29904CVE-2023-48708CVE-2023-48707CVE-2023-32692CVE-2023-27580All 43
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.