HOMEVULNERABILITIESCVE-2022-39284
MEDIUM

CVE-2022-39284

CWE-665Published: October 6, 2022· Updated: Jun 17, 2026

4.3
CVSS v3.1

Official Description

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.

NVD Source

Technical Analysis

CVE-2022-39284 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.

Exploitation requires low privileges, which limits the exposure to scenarios where an attacker has already gained initial access.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorNetwork
Attack ComplexityLow
Privileges Req.Low
User InteractionNone
ScopeUnchanged
Impact
ConfidentialityLow
IntegrityNone
AvailabilityNone
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Affected Vendors & Products

codeigniter1 product(s)
codeigniter
Source: NVD CPE · 1 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (12)

Quick Facts

CVE IDCVE-2022-39284
CVSS Score4.3 / 10
SeverityMEDIUM
WeaknessCWE-665
CISA KEVNo
Affected1 vendor(s)
PublishedOct 6, 2022

Related CVEs (CWE-665)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2022-39284 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.