CVE-2023-46240
HIGH 7.5CVSS 3.1CodeIgniter4 vulnerable to information disclosure when detailed error report is displayed in production environment
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.
- Published
- 31 Oct 2023
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-209
- Also known as
- BIT-codeigniter-2023-46240GHSA-hwxf-qxj7-7rfj
- Sources
- NVDJSONOSV GHSA-hwxf-qxj7-7rfjJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | codeigniter | codeignitercpe:2.3:a:codeigniter:codeigniter:*:*:*:*:*:*:*:* |
< 4.4.3 | 4.4.3 |
| OSV | Packagist | codeigniter4/framework | < 4.4.3 | 4.4.3 |
References
- https://codeigniter4.github.io/userguide/general/errors.html#error-reporting · Product, WEB
- https://github.com/codeigniter4/CodeIgniter4/commit/423569fc31e29f51635a2e59c89770333f0e7563 · Patch, WEB
- https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-hwxf-qxj7-7rfj · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-46240 · ADVISORY
- https://github.com/codeigniter4/CodeIgniter4 · PACKAGE
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 31 Oct 2023)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 30 Oct 2023)