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.
Metrics
Affected Vendors & Products
References
History
Tue, 22 Apr 2025 18:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Metrics |
ssvc
|

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

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

Status : Modified
Published: 2022-10-06T20:15:35.560
Modified: 2024-11-21T07:17:57.370
Link: CVE-2022-39284

No data.