Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
CodeIgniter4 framework versions before 4.1.8 are vulnerable to cross-site scripting through API\ResponseTrait. The source does not describe what input or request an attacker must supply, so the exact conditions are unclear. Upgrade to version 4.1.8 or later; as a workaround, stop using API\ResponseTrait and ResourceController, or disable Auto Route and use defined routes only.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 5.4 | Medium | 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0094, the 59th percentile, on 26 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:32 UTC First seen by agentprime
- 31 Oct 2026, 14:32 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-7528-7jg5-6g62
- OSV: GHSA-7528-7jg5-6g62
- github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-7528-7jg5-6g62
- nvd.nist.gov/vuln/detail/CVE-2022-21715
- github.com/codeigniter4/CodeIgniter4/commit/70d881cf5322b7c32e69516aebd2273ac6a1e8dd
- codeigniter4.github.io/userguide/incoming/routing.html#use-defined-routes-only
- github.com/FriendsOfPHP/security-advisories/blob/master/codeigniter4/framework/CVE-2022-21715.yaml
- github.com/codeigniter4/framework