CVE-2023-46240
CVE-2023-46240 is a high-severity vulnerability in Codeigniter with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-209.
Key facts
- Severity: High (CVSS 3.x base score 7.5)
- EPSS exploit prediction: 1% (45th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-209
- Affected product: Codeigniter
- Published:
- Last modified:
Description
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`.
Frequently asked questions
- What is CVE-2023-46240?
- 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`.
- How severe is CVE-2023-46240?
- CVE-2023-46240 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity none, and availability none.
- Is CVE-2023-46240 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (45th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2023-46240?
- CVE-2023-46240 affects Codeigniter. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2023-46240?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2023-46240 published?
- CVE-2023-46240 was published on 2023-10-31 and last updated on 2026-06-17.
References
- https://codeigniter4.github.io/userguide/general/errors.html#error-reporting
- https://github.com/codeigniter4/CodeIgniter4/commit/423569fc31e29f51635a2e59c89770333f0e7563
- https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-hwxf-qxj7-7rfj
Affected products (1)
- cpe:2.3:a:codeigniter:codeigniter:*:*:*:*:*:*:*:*
More vulnerabilities in Codeigniter
- CVE-2025-54418 — Critical (CVSS 9.8): CodeIgniter is a PHP full-stack web framework. A command injection vulnerability present in versions prior to 4.6.2…
- CVE-2023-32692 — Critical (CVSS 9.8): CodeIgniter is a PHP full-stack web framework. This vulnerability allows attackers to execute arbitrary code when you…
- CVE-2022-40835 — Critical (CVSS 9.8): B.C. Institute of Technology CodeIgniter <=3.1.13 is vulnerable to SQL Injection via…
- CVE-2022-40834 — Critical (CVSS 9.8): B.C. Institute of Technology CodeIgniter <=3.1.13 is vulnerable to SQL Injection via…
- CVE-2022-40833 — Critical (CVSS 9.8): B.C. Institute of Technology CodeIgniter <=3.1.13 is vulnerable to SQL Injection via…
- CVE-2022-40832 — Critical (CVSS 9.8): B.C. Institute of Technology CodeIgniter <=3.1.13 is vulnerable to SQL Injection via…
All CVEs affecting Codeigniter →
Other CWE-209 (Generation of Error Message Containing Sensitive Information) vulnerabilities
- CVE-2025-62168 — Critical (CVSS 10.0): Squid is a caching proxy for the Web. In Squid versions prior to 7.2, a failure to redact HTTP authentication…
- CVE-2025-68110 — Critical (CVSS 9.9): ChurchCRM is an open-source church management system. Versions prior to 6.5.3 may disclose database information in an…
- CVE-2025-46658 — Critical (CVSS 9.8): An issue was discovered in ExonautWeb in 4C Strategies Exonaut 21.6. There are verbose error messages.
- CVE-2024-28285 — Critical (CVSS 9.8): A Fault Injection vulnerability in the SymmetricDecrypt function in cryptopp/elgamal.h of Cryptopp Crypto++ 8.9, allows…
- CVE-2023-40767 — Critical (CVSS 9.8): User enumeration is found in in PHPJabbers Make an Offer Widget v1.0. This issue occurs during password recovery, where…
- CVE-2023-40766 — Critical (CVSS 9.8): User enumeration is found in in PHPJabbers Ticket Support Script v3.2. This issue occurs during password recovery,…
Browse all CWE-209 (Generation of Error Message Containing Sensitive Information) vulnerabilities →