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.
History

Tue, 22 Apr 2025 18:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2022-10-06T00:00:00.000Z

Updated: 2025-04-22T17:19:34.229Z

Reserved: 2022-09-02T00:00:00.000Z

Link: CVE-2022-39284

cve-icon Vulnrichment

Updated: 2024-08-03T12:00:43.631Z

cve-icon NVD

Status : Modified

Published: 2022-10-06T20:15:35.560

Modified: 2024-11-21T07:17:57.370

Link: CVE-2022-39284

cve-icon Redhat

No data.