CVE-2022-21715
Summary
| CVE | CVE-2022-21715 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-01-24 20:15:00 UTC |
| Updated | 2022-01-28 18:46:00 UTC |
| Description | 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. |
Risk And Classification
Problem Types: CWE-79
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Codeigniter | Codeigniter | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| URI Routing — CodeIgniter 4.1.1 documentation | MISC | codeigniter4.github.io | |
| XSS Vulnerability in API\ResponseTrait in CodeIgniter4 · Advisory · codeigniter4/CodeIgniter4 · GitHub | CONFIRM | github.com | |
| Merge pull request from GHSA-7528-7jg5-6g62 · codeigniter4/CodeIgniter4@70d881c · GitHub | MISC | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.