GHSA-7528-7jg5-6g62 · Severity: medium · Ecosystem: composer — Cross-site Scripting Vulnerability in CodeIgniter4
CodeIgniter4 is the 4.x branch of CodeIgniter, a PHP full-stack web framework. A cross-site scripting (XSS) vulnerability was found in `API\ResponseTrait` in Codeigniter4 prior to version 4.1.8. Attackers can do XSS attacks if a potential victim is using `API\ResponseTrait`. Version 4.1.8 contains a patch for this vulnerability. There are two potential workarounds available. Users may avoid using `API\ResponseTrait` or `ResourceController` Users may also disable Auto Route and use defined routes only.
Conclusion & alert: CVE-2022-21715 is rated Moderate Risk (42.6/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 1.00%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
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.37% | 1.00% | +0.63% |
| 2 | 2026-02-04 | 0.62% | 0.37% | -0.25% |
| 3 | 2025-03-30 | — | 0.62% | — |
Full EPSS history (7 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.4 | 3.1 | MEDIUM |
|
2.8 | 2.5 | [email protected] |
| 6.1 | 3.1 | MEDIUM |
|
2.8 | 2.7 | [email protected] |
| 4.3 | 2.0 | MEDIUM |
|
8.6 | 2.9 | [email protected] |
GHSA-7528-7jg5-6g62 · Severity: medium · Ecosystem: composer — Cross-site Scripting Vulnerability in CodeIgniter4
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| codeigniter | codeigniter | >= 4.0.0, < 4.1.8 | cpe:2.3:a:codeigniter:codeigniter:*:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://codeigniter4.github.io/userguide/incoming/routing.html#use-defined-routes-only | Mitigation Vendor Advisory |
| https://github.com/codeigniter4/CodeIgniter4/commit/70d881cf5322b7c32e69516aebd2273ac6a1e8dd | Patch Third Party Advisory |
| https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-7528-7jg5-6g62 | Mitigation Third Party Advisory |