{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-46240","id":"CVE-2023-46240","title":"CodeIgniter4 vulnerable to information disclosure when detailed error report is displayed in production environment","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/prod","descriptionLong":"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":"2023-10-31T15:03:51.798Z","updated":"2026-10-28T02:30:22.993209660Z","reserved":"2023-10-19T20:34:00.947Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"github.com"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["CodeIgniter4"],"affectedProducts":[{"vendor":"codeigniter4","product":"CodeIgniter4","defaultStatus":null,"versions":[{"version":"< 4.4.3","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"codeigniter4/framework","purl":"pkg:composer/codeigniter4/framework","ranges":["<4.4.3"],"fixed":["4.4.3"],"advisory":"GHSA-hwxf-qxj7-7rfj"}],"cwes":["CWE-209"],"aliases":["BIT-codeigniter-2023-46240","GHSA-hwxf-qxj7-7rfj"],"references":[{"url":"https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-hwxf-qxj7-7rfj","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://github.com/codeigniter4/CodeIgniter4/commit/423569fc31e29f51635a2e59c89770333f0e7563","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://codeigniter4.github.io/userguide/general/errors.html#error-reporting","tags":["x_refsource_MISC","x_transferred","Product","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/46xxx/CVE-2023-46240.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-46240","tags":["advisory"]},{"url":"https://github.com/codeigniter4/CodeIgniter4","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00777,"epssPercentile":0.56596,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-46240","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-46240","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-46240","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-hwxf-qxj7-7rfj","ok":true,"note":"GHSA-hwxf-qxj7-7rfj"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-46240","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}