GHSA-745p-r637-7vvp · Severity: low · Ecosystem: composer — Codeigniter4's Secure or HttpOnly flag set in Config\Cookie is not reflected in Cookies issued
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.
Conclusion & alert: CVE-2022-39284 is rated Exploit Available (50/100): CVSS Low severity, with medium exploitation likelihood (EPSS 0.83%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.47% | 0.83% | +0.36% |
| 2 | 2025-10-12 | 0.15% | 0.47% | +0.31% |
| 3 | 2025-08-02 | — | 0.15% | — |
Full EPSS history (9 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 2.6 | 3.1 | LOW |
|
1.2 | 1.4 | [email protected] |
| 4.3 | 3.1 | MEDIUM |
|
2.8 | 1.4 | [email protected] |
GHSA-745p-r637-7vvp · Severity: low · Ecosystem: composer — Codeigniter4's Secure or HttpOnly flag set in Config\Cookie is not reflected in Cookies issued
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| codeigniter | codeigniter | >= 4.0.0, < 4.2.7 | cpe:2.3:a:codeigniter:codeigniter:*:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://codeigniter4.github.io/userguide/helpers/cookie_helper.html#set_cookie | Technical Description Third Party Advisory |
| https://codeigniter4.github.io/userguide/outgoing/response.html#CodeIgniter%5CHTTP%5CResponse::setCookie | Technical Description Third Party Advisory |
| https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies#restrict_access_to_cookies | Technical Description Third Party Advisory |
| https://github.com/codeigniter4/CodeIgniter4/issues/6540 | Exploit Issue Tracking Third Party Advisory |
| https://github.com/codeigniter4/CodeIgniter4/pull/6544 | Patch Third Party Advisory |
| https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-745p-r637-7vvp | Mitigation Third Party Advisory |